fix typo.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-10-02 22:09:24 +08:00
parent b766062e52
commit 2decbaf729
1 changed files with 11 additions and 11 deletions

View File

@ -16,7 +16,7 @@ type ConfYaml struct {
Stat SectionStat `yaml:"stat"` Stat SectionStat `yaml:"stat"`
} }
// SectionCore is sub seciont of config. // SectionCore is sub section of config.
type SectionCore struct { type SectionCore struct {
Port string `yaml:"port"` Port string `yaml:"port"`
MaxNotification int64 `yaml:"max_notification"` MaxNotification int64 `yaml:"max_notification"`
@ -30,7 +30,7 @@ type SectionCore struct {
PID SectionPID `yaml:"pid"` PID SectionPID `yaml:"pid"`
} }
// SectionAPI is sub seciont of config. // SectionAPI is sub section of config.
type SectionAPI struct { type SectionAPI struct {
PushURI string `yaml:"push_uri"` PushURI string `yaml:"push_uri"`
StatGoURI string `yaml:"stat_go_uri"` StatGoURI string `yaml:"stat_go_uri"`
@ -39,13 +39,13 @@ type SectionAPI struct {
SysStatURI string `yaml:"sys_stat_uri"` SysStatURI string `yaml:"sys_stat_uri"`
} }
// SectionAndroid is sub seciont of config. // SectionAndroid is sub section of config.
type SectionAndroid struct { type SectionAndroid struct {
Enabled bool `yaml:"enabled"` Enabled bool `yaml:"enabled"`
APIKey string `yaml:"apikey"` APIKey string `yaml:"apikey"`
} }
// SectionIos is sub seciont of config. // SectionIos is sub section of config.
type SectionIos struct { type SectionIos struct {
Enabled bool `yaml:"enabled"` Enabled bool `yaml:"enabled"`
KeyPath string `yaml:"key_path"` KeyPath string `yaml:"key_path"`
@ -53,7 +53,7 @@ type SectionIos struct {
Production bool `yaml:"production"` Production bool `yaml:"production"`
} }
// SectionLog is sub seciont of config. // SectionLog is sub section of config.
type SectionLog struct { type SectionLog struct {
Format string `yaml:"format"` Format string `yaml:"format"`
AccessLog string `yaml:"access_log"` AccessLog string `yaml:"access_log"`
@ -63,7 +63,7 @@ type SectionLog struct {
HideToken bool `yaml:"hide_token"` HideToken bool `yaml:"hide_token"`
} }
// SectionStat is sub seciont of config. // SectionStat is sub section of config.
type SectionStat struct { type SectionStat struct {
Engine string `yaml:"engine"` Engine string `yaml:"engine"`
Redis SectionRedis `yaml:"redis"` Redis SectionRedis `yaml:"redis"`
@ -72,30 +72,30 @@ type SectionStat struct {
LevelDB SectionLevelDB `yaml:"leveldb"` LevelDB SectionLevelDB `yaml:"leveldb"`
} }
// SectionRedis is sub seciont of config. // SectionRedis is sub section of config.
type SectionRedis struct { type SectionRedis struct {
Addr string `yaml:"addr"` Addr string `yaml:"addr"`
Password string `yaml:"password"` Password string `yaml:"password"`
DB int `yaml:"db"` DB int `yaml:"db"`
} }
// SectionBoltDB is sub seciont of config. // SectionBoltDB is sub section of config.
type SectionBoltDB struct { type SectionBoltDB struct {
Path string `yaml:"path"` Path string `yaml:"path"`
Bucket string `yaml:"bucket"` Bucket string `yaml:"bucket"`
} }
// SectionBuntDB is sub seciont of config. // SectionBuntDB is sub section of config.
type SectionBuntDB struct { type SectionBuntDB struct {
Path string `yaml:"path"` Path string `yaml:"path"`
} }
// SectionLevelDB is sub seciont of config. // SectionLevelDB is sub section of config.
type SectionLevelDB struct { type SectionLevelDB struct {
Path string `yaml:"path"` Path string `yaml:"path"`
} }
// SectionPID is sub seciont of config. // SectionPID is sub section of config.
type SectionPID struct { type SectionPID struct {
Enabled bool `yaml:"enabled"` Enabled bool `yaml:"enabled"`
Path string `yaml:"path"` Path string `yaml:"path"`