Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessBeforeRequest ¶
func ProcessBeforeRequest(req *teaproxy.Request, writer *teaproxy.ResponseWriter) bool
请求Hook
Types ¶
type CookiesAction ¶
func (*CookiesAction) Run ¶
func (this *CookiesAction) Run(params struct { LogId string Day string })
type Helper ¶
type Helper struct { }
func (*Helper) BeforeAction ¶
func (this *Helper) BeforeAction(action *actions.ActionObject)
type HistoryAction ¶
type IndexAction ¶
func (*IndexAction) Run ¶
func (this *IndexAction) Run(params struct { ServerId string LogType string })
type ListAction ¶
func (*ListAction) Run ¶
func (this *ListAction) Run(params struct { ServerId string FromId string Size int `default:"10"` RemoteAddr string // 终端地址 Domain string // 域名 OsName string // 终端OS Browser string // 终端浏览器 Cost float64 // 耗时 Keyword string // 关键词 BackendId string // 后端服务器 LocationId string // 路径规则 RewriteId string // 重写规则 FastcgiId string // FastcgiId BodyFetching bool LogType string })
获取日志
type RequestHeaderAction ¶
func (*RequestHeaderAction) Run ¶
func (this *RequestHeaderAction) Run(params struct { LogId string Day string })
请求Header
type ResponseBodyAction ¶ added in v0.1.5
func (*ResponseBodyAction) Run ¶ added in v0.1.5
func (this *ResponseBodyAction) Run(params struct { LogId string Day string })
响应Body
type ResponseHeaderAction ¶
func (*ResponseHeaderAction) Run ¶
func (this *ResponseHeaderAction) Run(params struct { LogId string Day string })
响应Header
Source Files ¶
Click to show internal directories.
Click to hide internal directories.