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
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 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
func (*PolicyAction) Run ¶ added in v0.1.2
func (this *PolicyAction) Run(params struct { Filename string })
缓存策略详情
type StatPolicyAction ¶ added in v0.1.2
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
func (*TestPolicyAction) Run ¶ added in v0.1.2
func (this *TestPolicyAction) Run(params struct { Filename string })
测试缓存策略
type UpdatePolicyAction ¶
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 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.