Documentation ¶
Index ¶
Constants ¶
View Source
const Expire = 10 * time.Second
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Disconnect ¶
func (c *Client) Disconnect()
func (*Client) MessageMux ¶
func (*Client) Msg ¶
func (c *Client) Msg() *MsgPrepare
func (*Client) RegisterDataback ¶ added in v1.2.7
RegisterDataback register databack handler attention that no racing protect here, so you should register databack handler before connect
type MsgPrepare ¶
type MsgPrepare struct {
// contains filtered or unexported fields
}
func (*MsgPrepare) Callback ¶
func (m *MsgPrepare) Callback(f func([]byte) error) *MsgPrepare
Click to show internal directories.
Click to hide internal directories.