Versions in this module Expand all Collapse all v0 v0.5.0 Mar 30, 2020 v0.4.0 Nov 14, 2019 Changes in this version + const ErrEmptyRegistries + const ErrEmptyWriters + const ErrInvalidGroupIdFormat + const ErrInvalidGroupIdSuffix + const ErrInvalidVersion + const ErrMissingGroupId + const ErrMissingOwner + const ErrOwnerMismatch + type Group struct + Id GroupId + Owner addr.IA + Readers []addr.IA + Registries []addr.IA + Version uint + Writers []addr.IA + func GroupFromMsg(m *path_mgmt.HPCfg) *Group + func (g *Group) HasReader(ia addr.IA) bool + func (g *Group) HasRegistry(ia addr.IA) bool + func (g *Group) HasWriter(ia addr.IA) bool + func (g *Group) ToMsg() *path_mgmt.HPCfg + func (g *Group) UnmarshalJSON(data []byte) (err error) + type GroupId struct + OwnerAS addr.AS + Suffix uint16 + func IdFromMsg(id *path_mgmt.HPGroupId) GroupId + func (id *GroupId) UnmarshalJSON(data []byte) (err error) + func (id *GroupId) UnmarshalText(data []byte) error + func (id GroupId) MarshalJSON() ([]byte, error) + func (id GroupId) MarshalText() ([]byte, error) + func (id GroupId) String() string + func (id GroupId) ToMsg() *path_mgmt.HPGroupId + type GroupIdSet map[GroupId]struct + func GroupIdsToSet(ids ...GroupId) GroupIdSet