cache

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bolt

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

func (*Bolt) Close

func (b *Bolt) Close() error

func (*Bolt) Get

func (b *Bolt) Get(key string) (string, error)

func (*Bolt) Init

func (b *Bolt) Init() error

func (*Bolt) Open

func (b *Bolt) Open() error

func (*Bolt) Set

func (b *Bolt) Set(key, value string) error

type Cache

type Cache interface {
	Init() error
	Open() error
	Close() error
	Get(key string) (string, error)
	Set(key, value string) error
}

Jump to

Keyboard shortcuts

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