cache

package
v0.0.0-...-dffe54d Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleCache

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

func NewSimpleCache

func NewSimpleCache(bucketName string, db *bolt.DB) (*SimpleCache, error)

func (*SimpleCache) Get

func (c *SimpleCache) Get(key string, value interface{}) (bool, error)

func (*SimpleCache) Init

func (c *SimpleCache) Init() error

func (*SimpleCache) Put

func (c *SimpleCache) Put(key string, value interface{}) error

Jump to

Keyboard shortcuts

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