fastly

package
v0.0.0-...-652e824 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2016 License: MIT Imports: 7 Imported by: 6

Documentation

Index

Constants

View Source
const (
	SurrogateControlHeader = "Surrogate-Control"
	KeyHeader              = "Surrogate-Key"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	Log *log.Logger

	APIKey    string
	ServiceID string
	// contains filtered or unexported fields
}

func ParseConfig

func ParseConfig(logger *log.Logger, config string) (*Cache, error)

func (*Cache) LogHandler

func (c *Cache) LogHandler() macaron.Handler

func (*Cache) PurgeAll

func (c *Cache) PurgeAll() bool

func (*Cache) PurgeKey

func (c *Cache) PurgeKey(key string) bool

Jump to

Keyboard shortcuts

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