Documentation ¶
Index ¶
- type Alive
- type Client
- func (dis *Client) Alive(serverList ...string) *Alive
- func (dis *Client) All() ([]byte, error)
- func (dis *Client) Delete(key string) (string, error)
- func (dis *Client) Get(key string) ([]byte, error)
- func (dis *Client) Key(keyList ...string) *KeyList
- func (dis *Client) OnClose(fn func())
- func (dis *Client) OnError(fn func(err error))
- func (dis *Client) OnOpen(fn func())
- func (dis *Client) Register(fn func() message.ServerInfo)
- func (dis *Client) Set(key string, value []byte) (string, error)
- type Config
- type Discover
- type KeyList
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) Register ¶
func (dis *Client) Register(fn func() message.ServerInfo)
Click to show internal directories.
Click to hide internal directories.