Versions in this module Expand all Collapse all v0 v0.4.0 Nov 14, 2019 Changes in this version + const ErrMissingExtn + const ErrNoSegments + const ErrNotReader + const ErrNotRegistry + const ErrNotWriter + const ErrUnknownGroup + const ErrWrongSegType + func NewSegRegHandler(validator Validator, segHandler seghandler.Handler) infra.Handler + type DefaultValidator struct + func NewDefaultValidator(localIA addr.IA, groups map[hiddenpath.GroupId]*hiddenpath.Group) *DefaultValidator + func (v *DefaultValidator) Validate(hpSegReg *path_mgmt.HPSegReg, peer addr.IA) error + type Validator interface + Validate func(*path_mgmt.HPSegReg, addr.IA) error