Documentation ¶
Index ¶
- func ServeHTTP(ctx context.Context, wg *sync.WaitGroup, master cue.MasterManager)
- func ServeRPC(ctx context.Context, wg *sync.WaitGroup, master cue.MasterManager)
- type Server
- func (s *Server) GetPing(ctx context.Context, in *pb.Ping) (*pb.Ping, error)
- func (s *Server) ProcessCommands(ctx context.Context, in *pb.CommandsRequest) (*pb.CuesResponse, error)
- func (s *Server) StreamCueMaster(in *pb.ConnectionSettings, stream pb.API_StreamCueMasterServer) error
- func (s *Server) StreamGetLights(in *pb.ConnectionSettings, stream pb.API_StreamGetLightsServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server conforms to interface for proto generated stubs
func (*Server) ProcessCommands ¶
func (s *Server) ProcessCommands(ctx context.Context, in *pb.CommandsRequest) (*pb.CuesResponse, error)
ProcessCommands processing a list of commands
func (*Server) StreamCueMaster ¶
func (s *Server) StreamCueMaster(in *pb.ConnectionSettings, stream pb.API_StreamCueMasterServer) error
StreamCueMaster streams the cuemaster
func (*Server) StreamGetLights ¶
func (s *Server) StreamGetLights(in *pb.ConnectionSettings, stream pb.API_StreamGetLightsServer) error
StreamGetLights sends the light state to the client on an interval
Click to show internal directories.
Click to hide internal directories.