Skip to content
Snippets Groups Projects
Unverified Commit bed084d6 authored by CTFang@WireLab's avatar CTFang@WireLab
Browse files

fix: billingServer config adjustment

parent f2ed194a
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.
Finish editing this message first!
Please register or to comment