init
This commit is contained in:
10
config/service.go
Normal file
10
config/service.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package config
|
||||
|
||||
type ServiceConf struct {
|
||||
Http HttpConf `mapstructure:"http" json:"http" yaml:"http"`
|
||||
}
|
||||
|
||||
type HttpConf struct {
|
||||
Host string `mapstructure:"host" json:"host" yaml:"host"`
|
||||
Port string `mapstructure:"port" json:"port" yaml:"port"`
|
||||
}
|
||||
Reference in New Issue
Block a user