cache

package
v0.0.0-...-96cdf77 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AggregateHandler

func AggregateHandler(store AggregateGetter) http.HandlerFunc

func Handler

func Handler(store Getter) http.HandlerFunc

Types

type AggregateGetter

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

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)

func (*CacheClient) GetAggregate

func (c *CacheClient) GetAggregate() ([]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