api

package
v0.0.0-...-1392edb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2019 License: AGPL-3.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServeHTTP

func ServeHTTP(ctx context.Context, wg *sync.WaitGroup, master cue.MasterManager)

ServeHTTP runs the gin server

func ServeRPC

func ServeRPC(ctx context.Context, wg *sync.WaitGroup, master cue.MasterManager)

ServeRPC runs a RPC server

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server conforms to interface for proto generated stubs

func (*Server) GetPing

func (s *Server) GetPing(ctx context.Context, in *pb.Ping) (*pb.Ping, error)

GetPing is test thing

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL