Skip to content
Snippets Groups Projects
Unverified Commit 9542bf8b authored by Ian Chen's avatar Ian Chen Committed by GitHub
Browse files

Merge pull request #80 from andy89923/fix/config

Fix: billingServer config adjustment
parents f2ed194a bed084d6
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ type Tls struct {
}
type BillingServer struct {
Enable bool `yaml:"enable" valid:"type(bool), default(true)"`
Enable bool `yaml:"enable,omitempty" valid:"required,type(bool)"`
HostIPv4 string `yaml:"hostIPv4,omitempty" valid:"required,host"`
Port int `yaml:"port,omitempty" valid:"optional,port"`
ListenPort int `yaml:"listenPort,omitempty" valid:"required,port"`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment