fix(config): ajouter préfixe web[.-] aux options config web
This commit is contained in:
parent
e4ff1013d0
commit
929704c6ff
1 changed files with 8 additions and 8 deletions
16
config.go
16
config.go
|
@ -66,23 +66,23 @@ const (
|
|||
DefaultWebPort int = 2312
|
||||
DescriptionWebPort string = "Web client port"
|
||||
|
||||
ViperWebAPIHost string = "api.host"
|
||||
FlagWebAPIHost string = "api-host"
|
||||
ViperWebAPIHost string = "web.api.host"
|
||||
FlagWebAPIHost string = "web-api-host"
|
||||
DefaultWebAPIHost string = "api"
|
||||
DescriptionWebAPIHost string = "Target API server host"
|
||||
|
||||
ViperWebAPIKey string = "api.key"
|
||||
FlagWebAPIKey string = "api-key"
|
||||
ViperWebAPIKey string = "web.api.key"
|
||||
FlagWebAPIKey string = "web-api-key"
|
||||
DefaultWebAPIKey string = "bottin"
|
||||
DescriptionWebAPIKey string = "Target API server key"
|
||||
|
||||
ViperWebAPIPort string = "api.port"
|
||||
FlagWebAPIPort string = "api-port"
|
||||
ViperWebAPIPort string = "web.api.port"
|
||||
FlagWebAPIPort string = "web-api-port"
|
||||
DefaultWebAPIPort int = 1312
|
||||
DescriptionWebAPIPort string = "Target API server port"
|
||||
|
||||
ViperWebAPIProtocol string = "api.protocol"
|
||||
FlagWebAPIProtocol string = "api-protocol"
|
||||
ViperWebAPIProtocol string = "web.api.protocol"
|
||||
FlagWebAPIProtocol string = "web-api-protocol"
|
||||
DefaultWebAPIProtocol string = "http"
|
||||
DescriptionWebAPIProtocol string = "Target API server protocol (http/https)"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue