client

package
v0.0.0-...-e2a619c Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultOptions = RapidVKClientOptions{
	Address:  "127.0.0.1",
	Port:     18018,
	Password: "test",
}

Functions

This section is empty.

Types

type Client

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

func CreateClient

func CreateClient(Options *RapidVKClientOptions) (*Client, error)

func (*Client) Close

func (client *Client) Close() error

func (*Client) Flush

func (client *Client) Flush() ([]datamodel.CustomDataType, error)

func (*Client) Pipelining

func (client *Client) Pipelining(state bool) ([]datamodel.CustomDataType, error)

func (*Client) SendCommand

func (client *Client) SendCommand(cmd string, args ...string) (datamodel.CustomDataType, error)

type RapidKVError

type RapidKVError string

func (RapidKVError) Error

func (err RapidKVError) Error() string

type RapidVKClientOptions

type RapidVKClientOptions struct {
	Address  string
	Password string
	Port     uint16
}

type RapidVKError

type RapidVKError string

func (RapidVKError) Error

func (err RapidVKError) Error() string

Jump to

Keyboard shortcuts

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