verify

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustAssetHandler

func MustAssetHandler() http.Handler

MustAssetHandler wraps a call to the embedded static file system and panics if the error is non-nil. It is intended for use in variable initializations

func MustNewTemplates

func MustNewTemplates() *template.Template

func NewTemplates

func NewTemplates() (*template.Template, error)

NewTemplates loads pomerium's templates. Panics on failure.

Types

type Cache

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

func NewCache

func NewCache(size int) (*Cache, error)

func (*Cache) Add

func (c *Cache) Add(key, value interface{})

func (*Cache) Get

func (c *Cache) Get(key interface{}) (value interface{}, ok bool)

type Verify

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

func New

func New(cacheSize int) (*Verify, error)

func (*Verify) Handler

func (h *Verify) Handler() http.Handler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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