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 ¶
func Filter ¶ added in v0.4.0
func Filter(paths []*combinator.Path, policy Policy) []*combinator.Path
Filter filters the given paths with the given policy. Note that this function might change the order of elements.
func NewRequestSplitter ¶ added in v0.4.0
func NewRequestSplitter(localIA addr.IA, inspector infra.ASInspector) segfetcher.Splitter
NewRequestSplitter creates a request splitter for the given local IA. The AS inspector is used to check whether an IA is core or not.
Types ¶
type TrustStore ¶ added in v0.4.0
type TrustStore interface { infra.VerificationFactory infra.ASInspector }
Directories ¶
Path | Synopsis |
---|---|
Package mock_fetcher is a generated GoMock package.
|
Package mock_fetcher is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.