client

package module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KV

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

func NewKV

func NewKV(service string) *KV

func (*KV) GetBytes

func (kv *KV) GetBytes(par, key string) ([]byte, error)

func (*KV) GetString

func (kv *KV) GetString(par, key string) (string, error)

func (*KV) Has

func (kv *KV) Has(par, key string) (bool, error)

func (*KV) SetBytes

func (kv *KV) SetBytes(par, key string, data []byte, ttls ...int64) error

func (*KV) SetString

func (kv *KV) SetString(par, key, data string, ttls ...int64) error

Jump to

Keyboard shortcuts

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