fetcher

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Overview

Package fetcher implements path segment fetching, verification and combination logic for SCIOND.

Index

Constants

View Source
const (
	DefaultMinWorkerLifetime = 10 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Fetcher

type Fetcher interface {
	GetPaths(ctx context.Context, src, dst addr.IA, refresh bool) ([]snet.Path, error)
}

func NewFetcher

func NewFetcher(cfg FetcherConfig) Fetcher

type FetcherConfig

type FetcherConfig struct {
	RPC       segfetcher.RPC
	PathDB    pathdb.PathDB
	Inspector trust.Inspector

	Verifier infra.Verifier
	RevCache revcache.RevCache
	Cfg      config.SDConfig

	TopoProvider topology.Provider
}

type TrustStore

type TrustStore interface {
	trust.Inspector
}

Directories

Path Synopsis
Package mock_fetcher is a generated GoMock package.
Package mock_fetcher is a generated GoMock package.

Jump to

Keyboard shortcuts

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