client

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OptionsErr = errors.New("invalid options")
)

Functions

This section is empty.

Types

type Client

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

func New

func New(options *Options) (*Client, error)

func (*Client) Close added in v0.1.2

func (c *Client) Close() error

type DialFunc

type DialFunc func() (io.ReadWriteCloser, error)

type Options

type Options struct {
	Handle rpc.HandleFunc
	Dial   DialFunc
	Logger logging.Logger
}

Jump to

Keyboard shortcuts

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