Documentation ¶
Index ¶
- func New(gCtx global.Context) pb.WaterHoseServiceServer
- type Error
- type Server
- func (s *Server) JoinChannel(ctx context.Context, req *pb.JoinChannelRequest) (*pb.JoinChannelResponse, error)
- func (s *Server) PublishSlaveChannelEvent(ctx context.Context, req *pb.PublishSlaveChannelEventRequest) (*pb.PublishSlaveChannelEventResponse, error)
- func (s *Server) RegisterSlave(req *pb.RegisterSlaveRequest, srv pb.WaterHoseService_RegisterSlaveServer) error
- func (s *Server) SlaveJoinLimit(ctx context.Context, req *pb.SlaveJoinLimitRequest) (*pb.SlaveJoinLimitResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct { pb.UnimplementedWaterHoseServiceServer // contains filtered or unexported fields }
func (*Server) JoinChannel ¶
func (s *Server) JoinChannel(ctx context.Context, req *pb.JoinChannelRequest) (*pb.JoinChannelResponse, error)
func (*Server) PublishSlaveChannelEvent ¶
func (s *Server) PublishSlaveChannelEvent(ctx context.Context, req *pb.PublishSlaveChannelEventRequest) (*pb.PublishSlaveChannelEventResponse, error)
func (*Server) RegisterSlave ¶
func (s *Server) RegisterSlave(req *pb.RegisterSlaveRequest, srv pb.WaterHoseService_RegisterSlaveServer) error
func (*Server) SlaveJoinLimit ¶
func (s *Server) SlaveJoinLimit(ctx context.Context, req *pb.SlaveJoinLimitRequest) (*pb.SlaveJoinLimitResponse, error)
Click to show internal directories.
Click to hide internal directories.