Documentation ¶ Index ¶ func ConfigureDefault(config Config) (driver.Cache, error) func ConfigureRedis(config Config) (driver.Cache, error) func New(config Config) (driver.Cache, error) type Config type Driver Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ConfigureDefault ¶ func ConfigureDefault(config Config) (driver.Cache, error) func ConfigureRedis ¶ func ConfigureRedis(config Config) (driver.Cache, error) func New ¶ func New(config Config) (driver.Cache, error) Types ¶ type Config ¶ type Config struct { Driver Driver URL string } type Driver ¶ type Driver string const ( DriverRedis Driver = "redis" ) Source Files ¶ View all Source files cache.go default.go redis.go Click to show internal directories. Click to hide internal directories.