Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RPCCallback ¶
type RPCCallback struct {
// contains filtered or unexported fields
}
func (*RPCCallback) DisconnectChan ¶
func (cb *RPCCallback) DisconnectChan() chan struct{}
func (*RPCCallback) Return ¶
func (cb *RPCCallback) Return(out interface{}, err error)
func (*RPCCallback) SetupDoneChan ¶
func (cb *RPCCallback) SetupDoneChan() chan struct{}
type RPCServer ¶
type RPCServer struct {
// contains filtered or unexported fields
}
RPCServer implements the RPC method calls common to all versions of the API.
func (*RPCServer) GetVersion ¶
func (s *RPCServer) GetVersion(args api.GetVersionIn, out *api.GetVersionOut) error
GetVersion returns the version of delve as well as the API version currently served.
func (*RPCServer) SetApiVersion ¶
func (s *RPCServer) SetApiVersion(args api.SetAPIVersionIn, out *api.SetAPIVersionOut) error
SetApiVersion changes version of the API being served.
type ServerImpl ¶
type ServerImpl struct {
// contains filtered or unexported fields
}
ServerImpl implements a JSON-RPC server that can switch between two versions of the API.
func NewServer ¶
func NewServer(config *service.Config) *ServerImpl
NewServer creates a new RPCServer.
func (*ServerImpl) Run ¶
func (s *ServerImpl) Run() error
Run starts a debugger and exposes it with an JSON-RPC server. The debugger itself can be stopped with the `detach` API.
Click to show internal directories.
Click to hide internal directories.