Documentation ¶
Index ¶
- type Local
- func (l *Local) Close() error
- func (l *Local) Peers() (out []*dmesh.SearchPeer)
- func (l *Local) PublishNow(peer dmesh.Peer) error
- func (l *Local) PublishWithin(peer dmesh.Peer, timeout time.Duration)
- func (l *Local) RegisterPeer(peer dmesh.Peer)
- func (l *Local) Start(ctx context.Context, watchServices []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Local ¶
type Local struct {
// contains filtered or unexported fields
}
func (*Local) Peers ¶
func (l *Local) Peers() (out []*dmesh.SearchPeer)
func (*Local) RegisterPeer ¶
Click to show internal directories.
Click to hide internal directories.