Documentation ¶ Index ¶ Constants func Init(bp *handler.BP, args interface{}) (p handler.Plugin, err error) type Args Constants ¶ View Source const ( PluginType = "cache" ) Variables ¶ This section is empty. Functions ¶ func Init ¶ func Init(bp *handler.BP, args interface{}) (p handler.Plugin, err error) Types ¶ type Args ¶ type Args struct { Size int `yaml:"size"` Redis string `yaml:"redis"` LazyCacheTTL int `yaml:"lazy_cache_ttl"` LazyCacheReplyTTL int `yaml:"lazy_cache_reply_ttl"` CacheEverything bool `yaml:"cache_everything"` } Source Files ¶ View all Source files cache.go Click to show internal directories. Click to hide internal directories.