Documentation ¶
Index ¶
- type GRPCNetwork
- func (n GRPCNetwork) BootstrapClient(ctx context.Context, node *types.Node) (bootstrap.BootstrapClient, error)
- func (n GRPCNetwork) BroadcasterClient(ctx context.Context, node *types.Node) (network.Connection, error)
- func (n GRPCNetwork) Listen(ctx context.Context, node *types.Node) error
- func (n GRPCNetwork) RegisterBootstrap(svc bootstrap.Service)
- func (n GRPCNetwork) RegisterBroadcasterServer(f func(context.Context, []*types.Message) error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCNetwork ¶
type GRPCNetwork struct {
// contains filtered or unexported fields
}
func (GRPCNetwork) BootstrapClient ¶
func (n GRPCNetwork) BootstrapClient(ctx context.Context, node *types.Node) (bootstrap.BootstrapClient, error)
func (GRPCNetwork) BroadcasterClient ¶
func (n GRPCNetwork) BroadcasterClient(ctx context.Context, node *types.Node) (network.Connection, error)
func (GRPCNetwork) RegisterBootstrap ¶
func (n GRPCNetwork) RegisterBootstrap(svc bootstrap.Service)
func (GRPCNetwork) RegisterBroadcasterServer ¶
Click to show internal directories.
Click to hide internal directories.