Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { *config.Configuration WxAppId string `yaml:"wx.appid"` WxAppSecret string `yaml:"wx.appsecret"` WxToken string `yaml:"wx.token"` WxEncodingAesKey string `yaml:"wx.encoding_aes_key"` WxStorage string `yaml:"wx.storage"` WxDebug string `yaml:"wx.debug"` }
func (Configuration) GetWxAppId ¶
func (c Configuration) GetWxAppId() string
func (Configuration) GetWxAppSecret ¶
func (c Configuration) GetWxAppSecret() string
func (Configuration) GetWxDebug ¶
func (c Configuration) GetWxDebug() bool
func (Configuration) GetWxEncodingAesKey ¶
func (c Configuration) GetWxEncodingAesKey() string
func (Configuration) GetWxStorage ¶
func (c Configuration) GetWxStorage() string
func (Configuration) GetWxToken ¶
func (c Configuration) GetWxToken() string
type ConfigurationReadOnly ¶
type ConfigurationReadOnly interface { config.ConfigurationReadOnly GetWxAppId() string GetWxAppSecret() string GetWxToken() string GetWxEncodingAesKey() string GetWxStorage() string GetWxDebug() bool }
var Cfg ConfigurationReadOnly = covertConfiguration()
Click to show internal directories.
Click to hide internal directories.