Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CORSConf = &cors{}
CORSConf 跨域资源共享配置
View Source
var DingTalkConf = &DingTalk{}
View Source
var GitLabHost string
View Source
var GitLabToken string
View Source
var ServerConf = &server{}
ServerConf 服务基本配置
View Source
var WebHookConf = &SSHConfig{}
View Source
var ZapConf = &Zap{}
Functions ¶
Types ¶
type HookConfig ¶
type HookConfig struct { Url string Hook []*HostConfig }
type HostConfig ¶
主机脚本相关配置
type Zap ¶
type Zap struct { Level string `mapstructure:"level"` Format string `mapstructure:"format"` Prefix string `mapstructure:"prefix"` Director string `mapstructure:"director"` LinkName string `mapstructure:"link-name"` ShowLine bool `mapstructure:"show-line"` EncodeLevel string `mapstructure:"encode-level"` StacktraceKey string `mapstructure:"stacktrace-key"` LogInConsole bool `mapstructure:"log-in-console"` }
Zap日志配置
Click to show internal directories.
Click to hide internal directories.