snetmigrate

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolverFromSD

func ResolverFromSD(sciondPath string, pathCount uint16) (pathmgr.Resolver, error)

Types

type PathQuerier

type PathQuerier struct {
	Resolver   pathmgr.Resolver
	PathPolicy *pathpol.Policy
	IA         addr.IA
}

PathQuerier implements snet.PathQuerier. This struct just exists to simplify the refactoring (prevent dep loops) and in the end pathmgr should be removed or as a step in between implement snet.PathQuerier directly.

func (*PathQuerier) Query

func (q *PathQuerier) Query(ctx context.Context, dst addr.IA) ([]snet.Path, error)

Jump to

Keyboard shortcuts

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