Documentation ¶
Index ¶
- type RelayNetwork
- func (r *RelayNetwork) Done() <-chan struct{}
- func (r *RelayNetwork) Ready() <-chan struct{}
- func (r *RelayNetwork) Register(channel network.Channel, messageProcessor network.MessageProcessor) (network.Conduit, error)
- func (r *RelayNetwork) RegisterBlobService(channel network.Channel, store datastore.Batching, ...) (network.BlobService, error)
- func (r *RelayNetwork) RegisterPingService(pid protocol.ID, provider network.PingInfoProvider) (network.PingService, error)
- func (r *RelayNetwork) Start(ctx irrecoverable.SignalerContext)
- type Relayer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RelayNetwork ¶
type RelayNetwork struct {
// contains filtered or unexported fields
}
func NewRelayNetwork ¶
func (*RelayNetwork) Done ¶
func (r *RelayNetwork) Done() <-chan struct{}
func (*RelayNetwork) Ready ¶
func (r *RelayNetwork) Ready() <-chan struct{}
func (*RelayNetwork) Register ¶
func (r *RelayNetwork) Register(channel network.Channel, messageProcessor network.MessageProcessor) (network.Conduit, error)
func (*RelayNetwork) RegisterBlobService ¶
func (r *RelayNetwork) RegisterBlobService(channel network.Channel, store datastore.Batching, opts ...network.BlobServiceOption) (network.BlobService, error)
func (*RelayNetwork) RegisterPingService ¶
func (r *RelayNetwork) RegisterPingService(pid protocol.ID, provider network.PingInfoProvider) (network.PingService, error)
func (*RelayNetwork) Start ¶
func (r *RelayNetwork) Start(ctx irrecoverable.SignalerContext)
Click to show internal directories.
Click to hide internal directories.