client

package
v0.0.0-...-977d3fa Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2017 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLIENT

type CLIENT struct {
	Url    string
	APIUrl string
	// contains filtered or unexported fields
}

func Create

func Create() CLIENT

func (*CLIENT) AppendToList

func (cli *CLIENT) AppendToList(key, v string) (errs []error)

func (*CLIENT) GetDictElement

func (cli *CLIENT) GetDictElement(key, v string) (result string, errs []error)

func (*CLIENT) GetInt

func (cli *CLIENT) GetInt(key string) (result int, errs []error)

func (*CLIENT) GetListElement

func (cli *CLIENT) GetListElement(key string, v int) (result string, errs []error)

func (*CLIENT) GetString

func (cli *CLIENT) GetString(key string) (result string, errs []error)

func (*CLIENT) HasKey

func (cli *CLIENT) HasKey(key string) (result bool, errs []error)

func (*CLIENT) Increment

func (cli *CLIENT) Increment(key string) (result int, errs []error)

func (*CLIENT) Keys

func (cli *CLIENT) Keys() (result []string, errs []error)

func (*CLIENT) Len

func (cli *CLIENT) Len() (result int, errs []error)

func (*CLIENT) Remove

func (cli *CLIENT) Remove(key string) (result int, errs []error)

func (*CLIENT) RemoveFromDict

func (cli *CLIENT) RemoveFromDict(key, v string) (result int, errs []error)

func (*CLIENT) RemoveFromList

func (cli *CLIENT) RemoveFromList(key, v string) (result int, errs []error)

func (*CLIENT) SetDict

func (cli *CLIENT) SetDict(key string, v util.Dict) (errs []error)

func (*CLIENT) SetInt

func (cli *CLIENT) SetInt(key string, v int) (errs []error)

func (*CLIENT) SetList

func (cli *CLIENT) SetList(key string, v util.List) (errs []error)

func (*CLIENT) SetString

func (cli *CLIENT) SetString(key, v string) (errs []error)

func (*CLIENT) SetTTL

func (cli *CLIENT) SetTTL(key string, v int) (result int, errs []error)

func (*CLIENT) Stats

func (cli *CLIENT) Stats() (result util.Stats, errs []error)

func (*CLIENT) UpdateDict

func (cli *CLIENT) UpdateDict(key string, v util.Dict) (result util.Dict, errs []error)

func (*CLIENT) UpdateInt

func (cli *CLIENT) UpdateInt(key string, v int) (result int, errs []error)

func (*CLIENT) UpdateList

func (cli *CLIENT) UpdateList(key string, v util.List) (result util.List, errs []error)

func (*CLIENT) UpdateString

func (cli *CLIENT) UpdateString(key, v string) (result string, errs []error)

type Credentials

type Credentials struct {
	Username, Password string
}

Jump to

Keyboard shortcuts

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