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 ¶
Click to show internal directories.
Click to hide internal directories.