Documentation ¶
Index ¶
- type GatewayServer
- type JobServer
- func (s *JobServer) PushCommandToRoom(ctx context.Context, roomID string, cmd *gateway.Command)
- func (s *JobServer) SendCommandToSession(ctx context.Context, sessionID string, command *gateway.Command)
- func (s *JobServer) SendJobs(ctx context.Context, in *gatewayProto.SendJobRequest) (*gatewayProto.EmptyReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayServer ¶
type GatewayServer struct {
// contains filtered or unexported fields
}
func NewGatewayServer ¶
func NewGatewayServer(manager *gateway.Manager) *GatewayServer
func (*GatewayServer) CreateCommandStream ¶
func (s *GatewayServer) CreateCommandStream(stream gatewayProto.GatewayService_CreateCommandStreamServer) error
func (*GatewayServer) GetServerTime ¶
func (s *GatewayServer) GetServerTime(context.Context, *gatewayProto.Empty) (*gatewayProto.GetServerTimeReply, error)
type JobServer ¶
type JobServer struct {
// contains filtered or unexported fields
}
func NewJobServer ¶
func (*JobServer) PushCommandToRoom ¶
func (*JobServer) SendCommandToSession ¶
func (*JobServer) SendJobs ¶
func (s *JobServer) SendJobs(ctx context.Context, in *gatewayProto.SendJobRequest) (*gatewayProto.EmptyReply, error)
Click to show internal directories.
Click to hide internal directories.