client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	READTIMEOUT = 300 * time.Millisecond
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	Conn net.Conn
}

func Connect

func Connect(tcpAddress string) (*Driver, error)

func (*Driver) Close

func (n *Driver) Close() error

func (*Driver) Delete

func (n *Driver) Delete(key []byte) error

func (*Driver) Get

func (n *Driver) Get(key []byte) ([]byte, error)

func (*Driver) Put

func (n *Driver) Put(key []byte, value []byte) error

Jump to

Keyboard shortcuts

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