Documentation ¶
Index ¶
- type AccessAction
- type AddAction
- type CacheAction
- type DeleteAction
- type DetailAction
- type DuplicateAction
- type ExportAction
- type FastcgiAction
- type HeadersAction
- type ImportAction
- type IndexAction
- type MoveAction
- type MoveDownAction
- type MoveUpAction
- type RewriteAction
- type TestAction
- type UpdateAction
- type UpdateCacheAction
- type WafAction
- type WafUpdateAction
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 AccessLogIsInherited bool EnableStat bool GzipLevel int8 GzipMinLength float64 GzipMinUnit string RedirectToHttps bool On bool IsReverse bool IsCaseInsensitive bool PageStatus []string PageURL []string ShutdownPageOn bool ShutdownPage string CondParams []string CondOps []string CondValues []string })
保存提交
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 DuplicateAction ¶ added in v0.1.5
func (*DuplicateAction) RunPost ¶ added in v0.1.5
func (this *DuplicateAction) RunPost(params struct { ServerId string LocationId string })
复制
type ExportAction ¶ added in v0.1.5
func (*ExportAction) RunGet ¶ added in v0.1.5
func (this *ExportAction) RunGet(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 ImportAction ¶ added in v0.1.5
func (*ImportAction) RunGet ¶ added in v0.1.5
func (this *ImportAction) RunGet(params struct { ServerId string })
导入路径规则
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 AccessLogIsInherited bool EnableStat bool GzipLevel int8 GzipMinLength float64 GzipMinUnit string RedirectToHttps bool On bool IsReverse bool IsCaseInsensitive bool PageStatus []string PageURL []string ShutdownPageOn bool ShutdownPage string CondParams []string CondOps []string CondValues []string })
保存修改
type UpdateCacheAction ¶
type WafUpdateAction ¶ added in v0.1.3
Source Files ¶
Click to show internal directories.
Click to hide internal directories.