Documentation
¶
Index ¶
Constants ¶
View Source
const BindAddress = "bind_addr"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
Log loggers.Logger
LogFile *os.File
Bind string
HttpsPort int
HttpPort int
DevHttpsPort int
Env ENV // 环境变量:DEV 或 PROD
// contains filtered or unexported fields
}
func (*Server) GetCaddyConfig ¶ added in v0.2.36
GetCaddyConfig 获取 Caddy 配置(用于备份调度器)
func (*Server) GetCouchDBConfig ¶ added in v0.2.36
GetCouchDBConfig 获取 CouchDB 配置(用于备份调度器)
func (*Server) ListenAndServe ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
analytics
Package analytics provides the methods to run an analytics reporting system for API requests which may be useful to users for measuring access and possibly identifying bad actors abusing requests.
|
Package analytics provides the methods to run an analytics reporting system for API requests which may be useful to users for measuring access and possibly identifying bad actors abusing requests. |
Click to show internal directories.
Click to hide internal directories.