anchororigin

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

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

Validator is anchor origin validator.

func New

func New(allowedOriginsStore allowedOriginsStore, cacheExpiration time.Duration) *Validator

New creates anchor origin validator.

func (*Validator) Validate

func (v *Validator) Validate(obj interface{}) error

Validate validates anchor origin object.

Jump to

Keyboard shortcuts

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