package
0.4.0
Repository: https://github.com/joelfischerr/scion.git
Documentation: pkg.go.dev

# Packages

Package mock_segfetcher is a generated GoMock package.

# Functions

DeleteNextQueryEntries deletes all NextQuery entries that are described by the given query result set.
ErrToMetricsLabel classifies the error from the segfetcher into metrics labels.
NewResolver creates a new resolver with the given DB.

# Constants

Cached means the request should be cached locally and can be loaded from DB.
Fetch means the request needs to be fetched.
Fetched means the request has been fetched and should be in the DB.
Loaded means the request has been loaded from the DB.
Unresolved means the request is not yet resolved.

# Variables

ErrInvalidRequest indicates an invalid request.

# Structs

DefaultRequester requests all segments that can be requested from a request set.
DefaultResolver is the default resolver implementation.
Fetcher fetches, verifies and stores segments for a given path request.
FetcherConfig is the configuration for the fetcher.
NextQueryCleaner can be used to delete next query entries from a pathdb.
ReplyOrErr is a seg reply or an error for the given request.
Request represents a path or segment request.
RequestSet is a set of requests.
Segments is a set of up, core, and down segments.

# Interfaces

DstProvider provides the destination for a segment lookup.
ReplyHandler handles replies.
RequestAPI is the API to get segments from the network.
Requester requests segments.
Resolver resolves segments that are locally cached.
Splitter splits a single request into a request set.
Validator validates a request.

# Type aliases

Requests is a list of requests and provides some convenience methods on top of it.
RequestState is the state the request is in.