Versions in this module Expand all Collapse all v0 v0.4.0 Nov 14, 2019 Changes in this version + const ErrNoConnectivity + func NewHandler(args handlers.HandlerArgs) infra.Handler + type BaseValidator struct + func (v *BaseValidator) Validate(ctx context.Context, r segfetcher.Request) error + type CoreChecker struct + Inspector infra.ASInspector + func (c *CoreChecker) IsCore(ctx context.Context, ia addr.IA) (bool, error) + type CoreLocalInfo struct + CoreChecker CoreChecker + LocalIA addr.IA + func (i *CoreLocalInfo) IsParamsLocal(params *query.Params) bool + func (i *CoreLocalInfo) IsSegLocal(ctx context.Context, src, dst addr.IA) (bool, error) + type CoreValidator struct + func (v *CoreValidator) Validate(ctx context.Context, r segfetcher.Request) error + type LocalInfo interface + IsParamsLocal func(*query.Params) bool + IsSegLocal func(ctx context.Context, src, dst addr.IA) (bool, error) + type NonCoreLocalInfo struct + LocalIA addr.IA + func (i *NonCoreLocalInfo) IsParamsLocal(params *query.Params) bool + func (i *NonCoreLocalInfo) IsSegLocal(ctx context.Context, src, dst addr.IA) (bool, error) + type PathDB struct + LocalInfo LocalInfo + RetrySleep time.Duration + func (db *PathDB) Get(ctx context.Context, params *query.Params) (query.Results, error) + func (db *PathDB) GetNextQuery(ctx context.Context, src, dst addr.IA, policy pathdb.PolicyHash) (time.Time, error) + type SegSelector struct + PathDB pathdb.PathDB + RevCache revcache.RevCache + func (s *SegSelector) SelectSeg(ctx context.Context, params *query.Params) (*seg.PathSegment, error) + type Splitter struct + ASInspector infra.ASInspector + func (s *Splitter) Split(ctx context.Context, r segfetcher.Request) (segfetcher.RequestSet, error)