Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Signal = flag.String("s", "", "send `signal` to a master process: stop, restart, status") // bifrost配置 BifrostConf = new(Config) )
Functions ¶
func ListenSignal ¶
func ListenSignal(sigChan chan<- int)
Types ¶
type Config ¶
type Config struct {
ServiceConfig ServiceConfig `yaml:"Service"`
//AuthService *AuthService `yaml:"AuthService"`
*RAConfig `yaml:"RAConfig"`
LogConfig `yaml:"LogConfig"`
}
Config, bifrost配置文件结构体,定义bifrost配置信息
type ServiceConfig ¶
type ServiceConfig struct {
Port uint16 `yaml:"Port"`
ChunckSize int `yaml:"ChunkSize"`
AuthServerAddr string `yaml:"AuthServerAddr"`
WebServerConfigInfos []web_server_manager.WebServerConfigInfo `yaml:"Infos,flow"`
BifrostServiceController *service.BifrostServiceController
}
Click to show internal directories.
Click to hide internal directories.