Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RecommendCleanHookMap = make(map[string]int)
View Source
var RecommendCleanHooks = make([]RecommendCleanHookFunc, 0)
Functions ¶
func AddRecommendCleanHook ¶
func AddRecommendCleanHook(hf ...RecommendCleanHookFunc)
func RegisterRecommendCleanHook ¶ added in v2.2.7
func RegisterRecommendCleanHook(name string, hf RecommendCleanHookFunc)
Types ¶
type RecommendCleanHookFunc ¶
type RecommendCleanHookFunc func(context *context.RecommendContext, params ...interface{})
Click to show internal directories.
Click to hide internal directories.