//
pkg.gl
Category
github.com/gotid/god
api
internal
package
1.4.3
Repository:
https://github.com/gotid/god.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
8
Dependents
2
Files
113 SLOC
#
Packages
cors
No description provided by the author
encoding
No description provided by the author
errcode
No description provided by the author
header
No description provided by the author
response
No description provided by the author
security
No description provided by the author
#
Functions
Error
Error 将 http 请求和给定的变量一起写入错误日志。.
Errorf
Errorf 将 http 请求和变量以给定的格式给一起写入错误日志。.
Info
Info 将 http 请求和给定的变量一起写如访问日志。.
Infof
Infof 将 http 请求和变量以给定的格式给一起写如访问日志。.
StartHttp
StartHttp 启动一个 http 服务器。.
StartHttps
StartHttps 启动一个 https 服务器。.
#
Variables
LogContext
LogContext 是一个上下文键。.
#
Structs
LogCollector
LogCollector 用于收集日志。.
#
Type aliases
StartOption
StartOption 自定义 http.Server 的方法。.