Documentation
¶
Index ¶
- Constants
- Variables
- func ListenSignal(sigChan chan<- int)
- func Log(level logger.LogLevel, message string, a ...interface{})
- func PathExists(path string) (bool, error)
- func Restart() error
- func ServerRun() error
- func Start() (err error)
- func Status() (int, error)
- func Stop() error
- type Config
- type LogConfig
Constants ¶
View Source
const ( // 日志级别 CRITICAL = logger.CriticalLevel ERROR = logger.ErrorLevel WARN = logger.WarningLevel NOTICE = logger.NoticeLevel INFO = logger.InfoLevel DEBUG = logger.DebugLevel )
Variables ¶
Functions ¶
func ListenSignal ¶
func ListenSignal(sigChan chan<- int)
Types ¶
type Config ¶
type Config struct {
AuthService *service.AuthService `yaml:"AuthService"`
LogConfig `yaml:"LogConfig"`
}
Config, bifrost配置文件结构体,定义bifrost配置信息
Click to show internal directories.
Click to hide internal directories.