handlers

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NoSegmentsErr = "No segments"
)

Variables

This section is empty.

Functions

func NewIfStateInfoHandler added in v0.4.0

func NewIfStateInfoHandler(args HandlerArgs) infra.Handler

func NewRevocHandler

func NewRevocHandler(args HandlerArgs) infra.Handler

func NewSegRegHandler

func NewSegRegHandler(args HandlerArgs) infra.Handler

func NewSyncHandler

func NewSyncHandler(args HandlerArgs) infra.Handler

Types

type HandlerArgs

type HandlerArgs struct {
	PathDB          pathdb.PathDB
	RevCache        revcache.RevCache
	ASInspector     infra.ASInspector
	VerifierFactory infra.VerificationFactory
	QueryInterval   time.Duration
	IA              addr.IA
	TopoProvider    itopo.ProviderI
	SegRequestAPI   segfetcher.RequestAPI
}

HandlerArgs are the values required to create the path server's handlers.

Jump to

Keyboard shortcuts

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