server

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Log        *zap.Logger
	Data       avcli.DataService
	PiPassword string

	MonitoringBaseURL    string
	MonitoringSecret     string
	MonitoringRedisAddr  string
	MonitoringELKBaseURL string

	Client *wso2.Client
	avcli.UnimplementedAvCliServer
}

func (*Server) CloseMonitoringIssue

func (s *Server) CloseMonitoringIssue(ctx context.Context, cliID *avcli.ID) (*empty.Empty, error)

func (*Server) CopyRoom

func (s *Server) CopyRoom(ctx context.Context, req *avcli.CopyRoomRequest) (*empty.Empty, error)

func (*Server) FixTime

func (s *Server) FixTime(id *avcli.ID, stream avcli.AvCli_FixTimeServer) error

func (*Server) Float

func (s *Server) Float(id *avcli.ID, stream avcli.AvCli_FloatServer) error

func (*Server) Pis

func (s *Server) Pis(ctx context.Context, cliID *avcli.ID) ([]avcli.Pi, error)

func (*Server) RemoveDeviceFromMonitoring

func (s *Server) RemoveDeviceFromMonitoring(ctx context.Context, cliID *avcli.ID) (*empty.Empty, error)

func (*Server) Screenshot

func (s *Server) Screenshot(ctx context.Context, cliID *avcli.ID) (*avcli.ScreenshotResult, error)

func (*Server) SetLogLevel

func (s *Server) SetLogLevel(ctx context.Context, logReq *avcli.SetLogLevelRequest) (*empty.Empty, error)

func (*Server) Sink

func (s *Server) Sink(id *avcli.ID, stream avcli.AvCli_SinkServer) error

func (*Server) Swab

func (s *Server) Swab(id *avcli.ID, stream avcli.AvCli_SwabServer) error

Jump to

Keyboard shortcuts

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