Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CleanPolicyAction ¶
type CleanPolicyAction struct {
actionutils.ParentAction
}
func (*CleanPolicyAction) Run ¶
func (this *CleanPolicyAction) Run(params struct { Filename string })
清理
func (*CleanPolicyAction) RunPost ¶
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 ¶
type PolicyAction struct {
actionutils.ParentAction
}
type RefreshPolicyAction ¶
type RefreshPolicyAction struct {
actionutils.ParentAction
}
func (*RefreshPolicyAction) RunGet ¶
func (this *RefreshPolicyAction) RunGet(params struct { Filename string })
type StatPolicyAction ¶
type StatPolicyAction struct {
actionutils.ParentAction
}
func (*StatPolicyAction) Run ¶
func (this *StatPolicyAction) Run(params struct { Filename string })
统计
func (*StatPolicyAction) RunPost ¶
func (this *StatPolicyAction) RunPost(params struct { Filename string })
获取统计数据
type TestPolicyAction ¶
type TestPolicyAction struct {
actionutils.ParentAction
}
func (*TestPolicyAction) Run ¶
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.