cache

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2018 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const PluginName = "Cache Plugin"

PluginName for g.Name

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	CacheSize int
}

Plugin implements pkg/plugin/v1

func (*Plugin) AfterResponse

func (p *Plugin) AfterResponse(c *plugin.Context, err error)

AfterResponse implements plugin

func (*Plugin) Initialize

func (p *Plugin) Initialize() (err error)

Initialize Google DNS Plugin

func (*Plugin) Name

func (p *Plugin) Name() string

Name return the name of this plugin

func (*Plugin) Patch

func (p *Plugin) Patch(c *plugin.Context)

Patch the dns pakcage

func (*Plugin) Warmup

func (p *Plugin) Warmup(c *plugin.Context)

Warmup implements plugin

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL