id

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache interface {
	SetLoadFn(loadFn func(name string) (id string, err error)) Cache
	GetOrSet(name string) (id string, err error)
	IsExist(name string) (ok bool, err error)
	Delete(name string) (err error)
}

func New

func New(cache cache.Cache, namespace string) Cache

Jump to

Keyboard shortcuts

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