models

package
v1.0.0-rc7 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoint

type Endpoint struct {
	ResolutionEndpoints []string
	OperationEndpoints  []string
	MinResolvers        int
	MaxAge              uint `json:"-"`
	AnchorOrigin        string
	AnchorURI           string
}

Endpoint include info about anchor endpoint.

func (*Endpoint) CacheLifetime

func (c *Endpoint) CacheLifetime() (time.Duration, error)

CacheLifetime returns the cache lifetime of the endpoint config file before it needs to be checked for an update.

Jump to

Keyboard shortcuts

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