dumper

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCacheNotExist = errors.New("cache not exist")

Functions

This section is empty.

Types

type Dumper

type Dumper interface {
	Len(k string) int
	Truncate(k string, n int) error
	Write(k string, b []byte)
	Done(k string) error
	Read(k string) ([]byte, error)
	ReadAll() map[string][]byte
}

func NewDumper

func NewDumper(k string) Dumper

Jump to

Keyboard shortcuts

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