Documentation
¶
Index ¶
- type GatewayService
- func (h *GatewayService) IsOnline(ctx context.Context, req *gateway.IsOnlineRequest) (*gateway.IsOnlineResponse, error)
- func (h *GatewayService) SendToClientId(ctx context.Context, req *gateway.SendToClientIdRequest) (*gateway.SendToClientIdResponse, error)
- func (h *GatewayService) SendToClientIds(ctx context.Context, req *gateway.SendToClientIdsRequest) (*gateway.SendToClientIdsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayService ¶
type GatewayService struct {
gateway.UnimplementedGatewayServiceServer
Node node.Node
}
func NewGatewayService ¶
func NewGatewayService(n node.Node) *GatewayService
func (*GatewayService) IsOnline ¶
func (h *GatewayService) IsOnline(ctx context.Context, req *gateway.IsOnlineRequest) (*gateway.IsOnlineResponse, error)
func (*GatewayService) SendToClientId ¶
func (h *GatewayService) SendToClientId(ctx context.Context, req *gateway.SendToClientIdRequest) (*gateway.SendToClientIdResponse, error)
func (*GatewayService) SendToClientIds ¶
func (h *GatewayService) SendToClientIds(ctx context.Context, req *gateway.SendToClientIdsRequest) (*gateway.SendToClientIdsResponse, error)
Click to show internal directories.
Click to hide internal directories.