Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Memory indicates a memory cache Memory = Provider(iota) // Filesystem indicates a filesystem cache Filesystem // Redis indicates a Redis cache Redis // Bbolt indicates a Bbolt cache Bbolt // BadgerDB indicates a BadgerDB cache BadgerDB )
Variables ¶
View Source
var Names = map[string]Provider{ "memory": Memory, "filesystem": Filesystem, "redis": Redis, "bbolt": Bbolt, "badger": BadgerDB, }
Names is a map of cache providers keyed by name
View Source
var Values = make(map[Provider]string)
Values is a map of cache providers keyed by internal id
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.