Documentation ¶
Index ¶
- type TcpClient
- func (c *TcpClient) AuthWithUserPassPair(user, pass string) error
- func (c *TcpClient) Close() error
- func (c *TcpClient) Get(key string) (*msg_protocol.GetResponse, error)
- func (c *TcpClient) Send(name string, s ...string) error
- func (c *TcpClient) Set(key string, value string) (*msg_protocol.SetResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TcpClient ¶
type TcpClient struct {
// contains filtered or unexported fields
}
func NewTcpClient ¶
func (*TcpClient) AuthWithUserPassPair ¶
func (*TcpClient) Get ¶
func (c *TcpClient) Get(key string) (*msg_protocol.GetResponse, error)
func (*TcpClient) Set ¶
func (c *TcpClient) Set(key string, value string) (*msg_protocol.SetResponse, error)
Click to show internal directories.
Click to hide internal directories.