Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Init(opts ...Option) error Options() Options Out() chan *codec.Packet Send(data interface{}) error Recv(out interface{}) error Read() Close() error String() string }
func NewTcpClient ¶
type Option ¶
type Option func(o *Options)
func WithAddress ¶
func WithMaxRetries ¶
func WithTimeout ¶
Click to show internal directories.
Click to hide internal directories.