cache

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: May 29, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

Store _

func MustNewStore added in v0.1.9

func MustNewStore() *Store

MustNewStore create new store

func NewStore

func NewStore() (*Store, error)

NewStore _

func (*Store) Close

func (s *Store) Close() error

Close _

func (*Store) Get

func (s *Store) Get(bucket string, key []byte, v interface{}) error

Get _

func (*Store) Put

func (s *Store) Put(bucket string, key []byte, value interface{}, ttl time.Duration) error

Put _

Jump to

Keyboard shortcuts

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