Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { ServiceCfg []*ServiceConfig `json:"services"` SeeLog string `json:"seelog"` LogPath string `json:"logpath"` FrameInternal int `json:"frameinternal"` Flag byte `json:"flag"` Type string `json:"type"` //NeedBalance bool `json:"needbalance"` Discovery []string `json:"discovery"` Balance []string `json:"balance"` NeedKeeplive bool `json:"needkeeplive"` //Addr string `json"addr"` ZoneName string `json:"zonename"` }
type ServiceConfig ¶
type ServiceConfig struct { Type string `json:"type"` UserService bool `json:"userservice"` NeedBalance bool `json:"needbalance"` NeedDiscovery bool `json:"needdiscovery"` NeedKeeplive bool `json:"needkeeplive"` NeedVerify bool `json:"needverify"` // UserListen bool `json:"userlisten"` // ServerListen bool `json:"serverlisten"` Net string `json:"net"` IP string `json"ip"` }
Click to show internal directories.
Click to hide internal directories.