cache

package
v0.0.0-...-14308cf Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(store Getter) http.HandlerFunc

Types

type CacheClient

type CacheClient struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(cacheAddr string, h httpGetter) *CacheClient

func (*CacheClient) Get

func (c *CacheClient) Get() ([]binding.Binding, error)

type Getter

type Getter interface {
	Get() []binding.Binding
}

Jump to

Keyboard shortcuts

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