Documentation ¶
Index ¶
- func AddFormatParser(key constant.ConfigFileFormat, contentParser parse.ContentParser)
- func GetCacheFactory() agcache.CacheFactory
- func GetFileHandler() file.FileHandler
- func GetFormatParser(key constant.ConfigFileFormat) parse.ContentParser
- func GetHTTPAuth() auth.HTTPAuth
- func GetLoadBalance() cluster.LoadBalance
- func SetCacheFactory(cacheFactory agcache.CacheFactory)
- func SetFileHandler(inFile file.FileHandler)
- func SetHTTPAuth(httpAuth auth.HTTPAuth)
- func SetLoadBalance(loadBalance cluster.LoadBalance)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFormatParser ¶
func AddFormatParser(key constant.ConfigFileFormat, contentParser parse.ContentParser)
AddFormatParser 设置 formatParser
func GetFormatParser ¶
func GetFormatParser(key constant.ConfigFileFormat) parse.ContentParser
GetFormatParser 获取 formatParser
func SetCacheFactory ¶
func SetCacheFactory(cacheFactory agcache.CacheFactory)
SetCacheFactory 替换CacheFactory
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.