Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultCache = "default"
Variables ¶
View Source
var ( ErrUnknownProvider = errors.New("unknown provider") ErrUnableToDetermineDialect = errors.New("unable to determine dialect") )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Caches map[string]ConfigCache `conf:"caches"`
}
type ConfigCache ¶
type RedisCache ¶
type RedisCache struct {
// contains filtered or unexported fields
}
func NewRedisCache ¶
func (*RedisCache) GetDialect ¶
func (cache *RedisCache) GetDialect() Dialect
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func (*Registry) AddConnection ¶
func (*Registry) GetDefault ¶
Click to show internal directories.
Click to hide internal directories.