proxy

package
v0.0.0-...-dfa6bd9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KnownMethods map[string]struct{}

Functions

func NewRPCCodec

func NewRPCCodec(conn io.ReadWriteCloser, dlvClient *rpc.Client) rpc.ServerCodec

Types

type LoggingRPCHandler

type LoggingRPCHandler struct {
	// contains filtered or unexported fields
}

func NewLoggingRPCHandler

func NewLoggingRPCHandler(wrappedHandler *RPCHandler, serverName string) *LoggingRPCHandler

func (*LoggingRPCHandler) AmendBreakpoint

func (h *LoggingRPCHandler) AmendBreakpoint(request map[string]interface{}, response *map[string]interface{}) error

func (*LoggingRPCHandler) AttachedToExistingProcess

func (h *LoggingRPCHandler) AttachedToExistingProcess(request map[string]interface{}, response *map[string]interface{}) error

func (*LoggingRPCHandler) ClearBreakpoint

func (h *LoggingRPCHandler) ClearBreakpoint(request map[string]interface{}, response *map[string]interface{}) error

func (*LoggingRPCHandler) Command

func (h *LoggingRPCHandler) Command(request map[string]interface{}, response *dlvrpc.CommandOut) error

func (*LoggingRPCHandler) CreateBreakpoint

func (h *LoggingRPCHandler) CreateBreakpoint(request map[string]interface{}, response *map[string]interface{}) error

func (*LoggingRPCHandler) Detach

func (h *LoggingRPCHandler) Detach(request map[string]interface{}, response *map[string]interface{}) error

func (*LoggingRPCHandler) Eval

func (h *LoggingRPCHandler) Eval(request map[string]interface{}, response *map[string]interface{}) error

func (*LoggingRPCHandler) FindLocation

func (h *LoggingRPCHandler) FindLocation(request map[string]interface{}, response *map[string]interface{}) error

func (*LoggingRPCHandler) GetBreakpoint

func (h *LoggingRPCHandler) GetBreakpoint(request map[string]interface{}, response *map[string]interface{}) error

func (*LoggingRPCHandler) IsMulticlient

func (h *LoggingRPCHandler) IsMulticlient(request map[string]interface{}, response *map[string]interface{}) error

func (*LoggingRPCHandler) LastModified

func (h *LoggingRPCHandler) LastModified(request map[string]interface{}, response *map[string]interface{}) error

func (*LoggingRPCHandler) ListBreakpoints

func (h *LoggingRPCHandler) ListBreakpoints(request map[string]interface{}, response *map[string]interface{}) error

func (*LoggingRPCHandler) ListFunctions

func (h *LoggingRPCHandler) ListFunctions(request map[string]interface{}, response *map[string]interface{}) error

func (*LoggingRPCHandler) ListGoroutines

func (h *LoggingRPCHandler) ListGoroutines(request map[string]interface{}, response *map[string]interface{}) error

func (*LoggingRPCHandler) ProcessPid

func (h *LoggingRPCHandler) ProcessPid(request map[string]interface{}, response *map[string]interface{}) error

func (*LoggingRPCHandler) Recorded

func (h *LoggingRPCHandler) Recorded(request map[string]interface{}, response *map[string]interface{}) error

func (*LoggingRPCHandler) Restart

func (h *LoggingRPCHandler) Restart(request map[string]interface{}, response *map[string]interface{}) error

func (*LoggingRPCHandler) SetApiVersion

func (h *LoggingRPCHandler) SetApiVersion(request map[string]interface{}, response *map[string]interface{}) error

func (*LoggingRPCHandler) Stacktrace

func (h *LoggingRPCHandler) Stacktrace(request map[string]interface{}, response *map[string]interface{}) error

func (*LoggingRPCHandler) State

func (h *LoggingRPCHandler) State(request map[string]interface{}, response *map[string]interface{}) error

type RPCHandler

type RPCHandler struct {
	// contains filtered or unexported fields
}

func NewRPCHandler

func NewRPCHandler(dlvClient *rpc.Client, events chan<- vimevent.Event, ctx context.Context, handleStackTrace func([]commonrpc.StackFrame)) *RPCHandler

func (*RPCHandler) AmendBreakpoint

func (h *RPCHandler) AmendBreakpoint(req map[string]interface{}, resp *map[string]interface{}) error

func (*RPCHandler) AttachedToExistingProcess

func (h *RPCHandler) AttachedToExistingProcess(req map[string]interface{}, resp *map[string]interface{}) error

func (*RPCHandler) ClearBreakpoint

func (h *RPCHandler) ClearBreakpoint(req map[string]interface{}, resp *map[string]interface{}) error

func (*RPCHandler) Command

func (h *RPCHandler) Command(req map[string]interface{}, resp *dlvrpc.CommandOut) error

func (*RPCHandler) CreateBreakpoint

func (h *RPCHandler) CreateBreakpoint(req map[string]interface{}, resp *map[string]interface{}) error

func (*RPCHandler) Detach

func (h *RPCHandler) Detach(req map[string]interface{}, resp *map[string]interface{}) error

func (*RPCHandler) Eval

func (h *RPCHandler) Eval(req map[string]interface{}, resp *map[string]interface{}) error

func (*RPCHandler) FindLocation

func (h *RPCHandler) FindLocation(req map[string]interface{}, resp *map[string]interface{}) error

func (*RPCHandler) GetBreakpoint

func (h *RPCHandler) GetBreakpoint(req map[string]interface{}, resp *map[string]interface{}) error

func (*RPCHandler) IsMulticlient

func (h *RPCHandler) IsMulticlient(req map[string]interface{}, resp *map[string]interface{}) error

func (*RPCHandler) LastModified

func (h *RPCHandler) LastModified(req map[string]interface{}, resp *map[string]interface{}) error

func (*RPCHandler) ListBreakpoints

func (h *RPCHandler) ListBreakpoints(req map[string]interface{}, resp *map[string]interface{}) error

func (*RPCHandler) ListFunctions

func (h *RPCHandler) ListFunctions(req map[string]interface{}, resp *map[string]interface{}) error

func (*RPCHandler) ListGoroutines

func (h *RPCHandler) ListGoroutines(req map[string]interface{}, resp *map[string]interface{}) error

func (*RPCHandler) ProcessPid

func (h *RPCHandler) ProcessPid(req map[string]interface{}, resp *map[string]interface{}) error

func (*RPCHandler) Recorded

func (h *RPCHandler) Recorded(req map[string]interface{}, resp *map[string]interface{}) error

func (*RPCHandler) Restart

func (h *RPCHandler) Restart(req map[string]interface{}, resp *map[string]interface{}) error

func (*RPCHandler) SetApiVersion

func (h *RPCHandler) SetApiVersion(req map[string]interface{}, resp *map[string]interface{}) error

func (*RPCHandler) Stacktrace

func (h *RPCHandler) Stacktrace(req map[string]interface{}, resp *map[string]interface{}) error

func (*RPCHandler) State

func (h *RPCHandler) State(req map[string]interface{}, resp *map[string]interface{}) error

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(dlvAddress string, events chan<- vimevent.Event, handleStackTrace func([]commonrpc.StackFrame), debugRPC bool) (*Server, error)

func (*Server) Error

func (s *Server) Error() <-chan error

func (*Server) ListenAddress

func (s *Server) ListenAddress() net.Addr

func (*Server) Stop

func (s *Server) Stop()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL