Versions in this module Expand all Collapse all v0 v0.4.1 Jul 9, 2019 v0.4.0 Jun 20, 2019 Changes in this version + type Manager struct + func NewManager() (*Manager, error) + func (pm *Manager) DeRegister(ctx context.Context, peerID string) error + func (pm *Manager) Get(ctx context.Context, peerID string) (*types.PeerInfo, error) + func (pm *Manager) List(ctx context.Context, filter *dutil.PageFilter) (peerList []*types.PeerInfo, err error) + func (pm *Manager) Register(ctx context.Context, peerCreateRequest *types.PeerCreateRequest) (peerCreateResponse *types.PeerCreateResponse, err error)