textprot

package
v0.0.0-...-b29f263 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const VERBOSE = false

Variables

This section is empty.

Functions

This section is empty.

Types

type TextProt

type TextProt struct{}

func (TextProt) Add

func (t TextProt) Add(rw *bufio.ReadWriter, key []byte, value []byte) error

func (TextProt) BatchGet

func (t TextProt) BatchGet(rw *bufio.ReadWriter, keys [][]byte) ([][]byte, error)

func (TextProt) Delete

func (t TextProt) Delete(rw *bufio.ReadWriter, key []byte) error

func (TextProt) GAT

func (t TextProt) GAT(rw *bufio.ReadWriter, key []byte) ([]byte, error)

func (TextProt) Get

func (t TextProt) Get(rw *bufio.ReadWriter, key []byte) ([]byte, error)

func (TextProt) GetWithOpaque

func (t TextProt) GetWithOpaque(rw *bufio.ReadWriter, key []byte, opaque int) ([]byte, error)

func (TextProt) Replace

func (t TextProt) Replace(rw *bufio.ReadWriter, key []byte, value []byte) error

func (TextProt) Set

func (t TextProt) Set(rw *bufio.ReadWriter, key []byte, value []byte) error

func (TextProt) Touch

func (t TextProt) Touch(rw *bufio.ReadWriter, key []byte) error

Jump to

Keyboard shortcuts

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