Documentation
¶
Index ¶
- type Method
- type ObjectStream
- type Server
- func (server *Server) Call(method string, params any) error
- func (server *Server) CallWithResult(method string, params any, result any) error
- func (server *Server) Notify(method string, params any) error
- func (server *Server) Start(stream ObjectStream) <-chan struct{}
- func (server *Server) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectStream ¶
type ObjectStream = jsonrpc2.ObjectStream
type Server ¶
func (*Server) CallWithResult ¶ added in v1.6.0
CallWithResult performs a JSON-RPC call expecting a result to be decoded into result.
func (*Server) Start ¶
func (server *Server) Start(stream ObjectStream) <-chan struct{}
Click to show internal directories.
Click to hide internal directories.