Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheConfig ¶
type CacheConfig struct { cacheconf.DefaultCacheConfig UserTimeToRefresh int `config:"USER_TIME_TO_REFRESH"` }
CacheConfig - It's the custom struct used to store application configuration over the default struct defined in pkg/cache_config Every fields need to be declared with tag `config:""`
func GetInstance ¶
func GetInstance() *CacheConfig
GetInstance - Return the one struct for application configuration
func (*CacheConfig) GetDefaultCacheConfig ¶
func (c *CacheConfig) GetDefaultCacheConfig() cacheconf.CacheConfigInterface
GetDefaultCacheConfig - Return the instance of CacheConfigInterface
Click to show internal directories.
Click to hide internal directories.