Discover Packages
github.com/noahzaozao/alisms_service
coinfig
package
Version:
v0.0.0-...-a5196f6
Opens a new window with list of versions in this module.
Published: Jul 23, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type CacheConfig struct {
Type string `yaml:"type"`
Host string `yaml:"host"`
Port string `yaml:"port"`
DB int `yaml:"db"`
Password string `yaml:"password"`
}
type SMSConfig struct {
ACCESS_KEY_ID string `yaml:"ACCESS_KEY_ID"`
ACCESS_KEY_SECRET string `yaml:"ACCESS_KEY_SECRET"`
}
type SettingConfig struct {
SECRET_KEY string `yaml:"SECRET_KEY"`
DEBUG string `yaml:"DEBUG"`
DEFAULT_CHARSET string `yaml:"DEFAULT_CHARSET"`
SMSConfig SMSConfig `yaml:"SMSConfig"`
CACHES []CacheConfig `yaml:"CACHES"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.