jsonrpc

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func (*Client) Call

func (c *Client) Call(method string, args any, reply any) error

func (*Client) Close

func (c *Client) Close()
func (c *Client) GetLink() *rpc.Client

func (*Client) Listen

func (c *Client) Listen(address string) error

type Server

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

func (*Server) Close

func (s *Server) Close()

func (*Server) Listen

func (s *Server) Listen(address string) error

func (*Server) Register

func (s *Server) Register(v any) error

Jump to

Keyboard shortcuts

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