client

package
v0.0.0-...-399f02e Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StoreClient

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

func NewStoreClient

func NewStoreClient(addr string) (*StoreClient, error)

func (*StoreClient) Close

func (c *StoreClient) Close() error

func (*StoreClient) Delete

func (c *StoreClient) Delete(key string) (bool, error)

func (*StoreClient) Get

func (c *StoreClient) Get(key string) (string, bool, error)

func (*StoreClient) Set

func (c *StoreClient) Set(key, val string) (bool, error)

Jump to

Keyboard shortcuts

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