Versions in this module Expand all Collapse all v0 v0.4.0 Nov 14, 2019 Changes in this version + var ErrNotReader = serrors.New("peer is not a reader of this group") + var ErrUnknownGroup = serrors.New("group not known to HPS") + func NewSegReqHandler(fetcher Fetcher) infra.Handler + type DefaultFetcher struct + func NewDefaultFetcher(groupInfo *GroupInfo, msger infra.Messenger, db hiddenpathdb.HiddenPathDB) *DefaultFetcher + func (f *DefaultFetcher) Fetch(ctx context.Context, req *path_mgmt.HPSegReq, peer *snet.Addr) ([]*path_mgmt.HPSegRecs, error) + type Fetcher interface + Fetch func(ctx context.Context, req *path_mgmt.HPSegReq, peer *snet.Addr) ([]*path_mgmt.HPSegRecs, error) + type GroupInfo struct + Groups map[hiddenpath.GroupId]*hiddenpath.Group + LocalIA addr.IA + func (gi *GroupInfo) CheckIds(ids hiddenpath.GroupIdSet) error + func (gi *GroupInfo) GetRegistryMapping(ids hiddenpath.GroupIdSet) (map[addr.IA][]hiddenpath.GroupId, error)