example

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotRunning = fmt.Errorf("not running")
)

Functions

This section is empty.

Types

type Cache

type Cache interface {
	Put(string, string) error
	Get(string) (string, error)
	Shutdown(error)
	ShutdownAsync(error)
	Done() <-chan struct{}
	Error() error
}

func NewCache

func NewCache(ctx context.Context) Cache

Jump to

Keyboard shortcuts

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