Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewConfig)
ProviderSet is a provider set for wire
Functions ¶
This section is empty.
Types ¶
type API ¶ added in v1.0.1
type API struct {
EndPoint string `json:"endPoint" yaml:"endPoint"`
}
API declare endpoint configuration
type APP ¶
type APP struct {
Name string `json:"name" yaml:"name"`
}
APP declare information of application
type Config ¶
type Config struct { APP *APP `json:"app" yaml:"app"` HTTP *HTTP `json:"http" yaml:"http"` DB *DB `json:"db" yaml:"db"` Log *Log `json:"log" yaml:"log"` API *API `json:"api" yaml:"api"` }
Config declare configuration for application
Click to show internal directories.
Click to hide internal directories.