cache

package
v2.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 9, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStore

func NewStore(opts ...store.Option) store.Store

NewStore returns new cache

Types

type Cache

type Cache struct {
	store.Store
	// contains filtered or unexported fields
}

Cache implements a cache in front of a micro Store

func (*Cache) Init

func (c *Cache) Init(opts ...store.Option) error

Init initialises a new cache

Jump to

Keyboard shortcuts

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