hiredcache

package
v0.0.0-...-2c17daf Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register()

Types

type Config

type Config struct {
	ID     string
	Prefix string
	AsNode bool
}

type Driver

type Driver struct {
	cache.Cacheable
}

func New

func New() *Driver

func (*Driver) SetGCErrHandler

func (d *Driver) SetGCErrHandler(f func(err error))

SetGCErrHandler Set callback to handler error raised when gc.

Jump to

Keyboard shortcuts

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