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) Return ¶
func (cb *RPCCallback) Return(out interface{}, err error)
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
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 HTTP server. The debugger itself can be stopped with the `detach` API. Run blocks until the HTTP server stops.
Click to show internal directories.
Click to hide internal directories.