Documentation ¶
Overview ¶
Package messages is a generated protocol buffer package.
It is generated from these files:
communication.proto
It has these top-level messages:
Action
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Action_FaceDetectionState_name = map[int32]string{
0: "FACEDETECTION_UNCHANGED",
1: "FACEDETECTION_ENABLE",
2: "FACEDETECTION_DISABLE",
}
View Source
var Action_FaceDetectionState_value = map[string]int32{
"FACEDETECTION_UNCHANGED": 0,
"FACEDETECTION_ENABLE": 1,
"FACEDETECTION_DISABLE": 2,
}
View Source
var Action_RenderingMode_name = map[int32]string{
0: "RENDERINGMODE_UNCHANGED",
1: "RENDERINGMODE_NORMAL",
2: "RENDERINGMODE_FUN",
}
View Source
var Action_RenderingMode_value = map[string]int32{
"RENDERINGMODE_UNCHANGED": 0,
"RENDERINGMODE_NORMAL": 1,
"RENDERINGMODE_FUN": 2,
}
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { FaceDetection Action_FaceDetectionState `protobuf:"varint,1,opt,name=faceDetection,enum=messages.Action_FaceDetectionState" json:"faceDetection,omitempty"` RenderingMode Action_RenderingMode `protobuf:"varint,2,opt,name=renderingMode,enum=messages.Action_RenderingMode" json:"renderingMode,omitempty"` Camera int32 `protobuf:"varint,3,opt,name=Camera,json=camera" json:"Camera,omitempty"` QuitServer bool `protobuf:"varint,4,opt,name=QuitServer,json=quitServer" json:"QuitServer,omitempty"` }
func (*Action) Descriptor ¶
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
type Action_FaceDetectionState ¶
type Action_FaceDetectionState int32
const ( Action_FACEDETECTION_UNCHANGED Action_FaceDetectionState = 0 Action_FACEDETECTION_ENABLE Action_FaceDetectionState = 1 Action_FACEDETECTION_DISABLE Action_FaceDetectionState = 2 )
func (Action_FaceDetectionState) EnumDescriptor ¶
func (Action_FaceDetectionState) EnumDescriptor() ([]byte, []int)
func (Action_FaceDetectionState) String ¶
func (x Action_FaceDetectionState) String() string
type Action_RenderingMode ¶
type Action_RenderingMode int32
const ( Action_RENDERINGMODE_UNCHANGED Action_RenderingMode = 0 Action_RENDERINGMODE_NORMAL Action_RenderingMode = 1 Action_RENDERINGMODE_FUN Action_RenderingMode = 2 )
func (Action_RenderingMode) EnumDescriptor ¶
func (Action_RenderingMode) EnumDescriptor() ([]byte, []int)
func (Action_RenderingMode) String ¶
func (x Action_RenderingMode) String() string
type WSMessage ¶
type WSMessage struct { Type string `json:"type"` AllStats []datastore.Stat `json:"allstats"` NewStat *datastore.Stat `json:"newstat"` RefreshScreenshot bool `json:"refreshscreenshot"` RefreshDetectScreenshot bool `json:"refreshdetectscreenshot"` FaceDetection bool `json:"facedetection"` RenderingMode datastore.RenderMode `json:"renderingmode"` Camera int `json:"camera"` AvailableCameras []int `json:"availablecameras"` Broken bool `json:"broken"` }
WSMessage to be sent to clients
Click to show internal directories.
Click to hide internal directories.