types

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CacheTypeMemory indicates a memory cache
	CacheTypeMemory = CacheType(iota)
	// CacheTypeFilesystem indicates a filesystem cache
	CacheTypeFilesystem
	// CacheTypeRedis indicates a Redis cache
	CacheTypeRedis
	// CacheTypeBbolt indicates a Bbolt cache
	CacheTypeBbolt
	// CacheTypeBadgerDB indicates a BadgerDB cache
	CacheTypeBadgerDB
)

Variables

View Source
var Names = map[string]CacheType{
	"memory":     CacheTypeMemory,
	"filesystem": CacheTypeFilesystem,
	"redis":      CacheTypeRedis,
	"bbolt":      CacheTypeBbolt,
	"badger":     CacheTypeBadgerDB,
}

Names is a map of cache types keyed by name

View Source
var Values = make(map[CacheType]string)

Values is a map of cache types keyed by internal id

Functions

This section is empty.

Types

type CacheType

type CacheType int

CacheType enumerates the methodologies for maintaining time series cache data

func (CacheType) String

func (t CacheType) String() string

Jump to

Keyboard shortcuts

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