# Functions
CORSAllowedOrigin CORSAllowed checks whether the current request origin is allowed cross-domain.
CORSDefault sets CORS with default CORS options, which allows any cross-domain request.
No description provided by the author
DefaultCorsOptions returns the default CORS options, which allows any cross-domain request.
ErrorHandle.
LoggerHandle plog: *plog.Output 日志服务指针 logPlatform: string 平台名 conf: interface{} 日志平台配置.
PanicHandle 捕获服务允许过程中发生的panic错误 appName: string 系统服务名 emailServerConfig: mailer.EmailSererConfig 发件服务配置 receivers: []string 告警邮件收件人地址 emailTpl: string 邮件模板.
fillInterval: 令牌填充间隔 cap: 令牌桶容量.
CORS sets custom CORS options.
SignHandle 接口验签 signExpire: time.Duration 验签有效期 signKey: string 签名秘钥.
# Structs
服务端允许跨域请求选项.