Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CleanPolicyAction ¶ added in v0.1.2
type CleanPolicyAction struct {
actionutils.ParentAction
}
func (*CleanPolicyAction) Run ¶ added in v0.1.2
func (this *CleanPolicyAction) Run(params struct { Filename string })
清理
func (*CleanPolicyAction) RunPost ¶ added in v0.1.2
func (this *CleanPolicyAction) RunPost(params struct { Filename string })
执行清理
type CreatePolicyAction ¶
func (*CreatePolicyAction) RunPost ¶
func (this *CreatePolicyAction) RunPost(params struct { Name string Key string Type string Capacity float64 CapacityUnit string Life int LifeUnit string StatusList []int MaxSize float64 MaxSizeUnit string SkippedCacheControlValues []string SkipSetCookie bool EnableRequestCachePragma bool FileDir string FileAutoCreate bool RedisNetwork string RedisHost string RedisPort int RedisSock string RedisPassword string LeveldbDir string Must *actions.Must })
保存提交
type DeletePolicyAction ¶
func (*DeletePolicyAction) Run ¶
func (this *DeletePolicyAction) Run(params struct { Filename string })
删除缓存策略
type Helper ¶
type Helper struct { }
func (*Helper) BeforeAction ¶
func (this *Helper) BeforeAction(action *actions.ActionObject)
缓存相关Helper
type IndexAction ¶
type PolicyAction ¶ added in v0.1.2
type PolicyAction struct {
actionutils.ParentAction
}
func (*PolicyAction) Run ¶ added in v0.1.2
func (this *PolicyAction) Run(params struct { Filename string })
缓存策略详情
type RefreshPolicyAction ¶ added in v0.1.12
type RefreshPolicyAction struct {
actionutils.ParentAction
}
func (*RefreshPolicyAction) RunGet ¶ added in v0.1.12
func (this *RefreshPolicyAction) RunGet(params struct { Filename string })
type StatPolicyAction ¶ added in v0.1.2
type StatPolicyAction struct {
actionutils.ParentAction
}
func (*StatPolicyAction) Run ¶ added in v0.1.2
func (this *StatPolicyAction) Run(params struct { Filename string })
统计
func (*StatPolicyAction) RunPost ¶ added in v0.1.2
func (this *StatPolicyAction) RunPost(params struct { Filename string })
获取统计数据
type TestPolicyAction ¶ added in v0.1.2
type TestPolicyAction struct {
actionutils.ParentAction
}
func (*TestPolicyAction) Run ¶ added in v0.1.2
func (this *TestPolicyAction) Run(params struct { Filename string })
测试缓存策略
type UpdatePolicyAction ¶
type UpdatePolicyAction struct {
actionutils.ParentAction
}
func (*UpdatePolicyAction) Run ¶
func (this *UpdatePolicyAction) Run(params struct { Filename string })
修改缓存策略
func (*UpdatePolicyAction) RunPost ¶
func (this *UpdatePolicyAction) RunPost(params struct { Filename string Name string Key string Type string Capacity float64 CapacityUnit string Life int LifeUnit string StatusList []int MaxSize float64 MaxSizeUnit string SkippedCacheControlValues []string SkipSetCookie bool EnableRequestCachePragma bool FileDir string FileAutoCreate bool RedisNetwork string RedisHost string RedisPort int RedisSock string RedisPassword string LeveldbDir string Must *actions.Must })
提交保存
Source Files ¶
Click to show internal directories.
Click to hide internal directories.