Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB //nolint:gochecknoglobals // allow global DB.
DB global database variable.
Functions ¶
Types ¶
type RedisCache ¶
type RedisCache struct { Store *persist.RedisStore DefaultCacheTime time.Duration }
RedisCache is a config struct for redis cache.
Click to show internal directories.
Click to hide internal directories.