Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessAction ¶
func (*AccessAction) Run ¶
func (this *AccessAction) Run(params struct { ServerId string LocationId string })
访问控制
type AddAction ¶
func (*AddAction) RunPost ¶
func (this *AddAction) RunPost(params struct { ServerId string Name string Pattern string PatternType int Root string Charset string Index []string MaxBodySize float64 MaxBodyUnit string EnableAccessLog bool AccessLogFields []int EnableStat bool GzipLevel int8 GzipMinLength float64 GzipMinUnit string On bool IsReverse bool IsCaseInsensitive bool })
保存提交
type CacheAction ¶
func (*CacheAction) Run ¶
func (this *CacheAction) Run(params struct { ServerId string LocationId string })
缓存设置
type DeleteAction ¶
func (*DeleteAction) Run ¶
func (this *DeleteAction) Run(params struct { ServerId string LocationId string })
删除路径规则
type DetailAction ¶
func (*DetailAction) Run ¶
func (this *DetailAction) Run(params struct { ServerId string LocationId string })
路径规则详情
type FastcgiAction ¶
func (*FastcgiAction) Run ¶
func (this *FastcgiAction) Run(params struct { ServerId string LocationId string })
Fastcgi设置
type HeadersAction ¶
func (*HeadersAction) Run ¶
func (this *HeadersAction) Run(params struct { ServerId string // 必填 LocationId string })
自定义Http Header
type IndexAction ¶
type MoveAction ¶ added in v0.1.2
type MoveDownAction ¶
func (*MoveDownAction) Run ¶
func (this *MoveDownAction) Run(params struct { ServerId string Index int })
type MoveUpAction ¶
func (*MoveUpAction) Run ¶
func (this *MoveUpAction) Run(params struct { ServerId string Index int })
type RewriteAction ¶
func (*RewriteAction) Run ¶
func (this *RewriteAction) Run(params struct { ServerId string LocationId string })
重写规则
type TestAction ¶
type UpdateAction ¶
func (*UpdateAction) Run ¶
func (this *UpdateAction) Run(params struct { ServerId string LocationId string From string ShowSpecial bool })
修改
func (*UpdateAction) RunPost ¶
func (this *UpdateAction) RunPost(params struct { ServerId string LocationId string Pattern string PatternType int Name string Root string Charset string Index []string MaxBodySize float64 MaxBodyUnit string EnableAccessLog bool AccessLogFields []int EnableStat bool GzipLevel int8 GzipMinLength float64 GzipMinUnit string On bool IsReverse bool IsCaseInsensitive bool CondParams []string CondOps []string CondValues []string })
保存修改
type UpdateCacheAction ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.