Documentation
¶
Index ¶
- Variables
- func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
- type AvsMsg
- func (*AvsMsg) Descriptor() ([]byte, []int)deprecated
- func (x *AvsMsg) GetAuthCode() string
- func (x *AvsMsg) GetClientId() string
- func (x *AvsMsg) GetCodeVerifier() string
- func (x *AvsMsg) GetRedirectUrl() string
- func (*AvsMsg) ProtoMessage()
- func (x *AvsMsg) ProtoReflect() protoreflect.Message
- func (x *AvsMsg) Reset()
- func (x *AvsMsg) String() string
- type CalibrationMsg
- func (*CalibrationMsg) Descriptor() ([]byte, []int)deprecated
- func (x *CalibrationMsg) GetAuto() bool
- func (x *CalibrationMsg) GetCalibrationState() CalibrationMsg_State
- func (x *CalibrationMsg) GetEnvironment() *EnvironmentMsg
- func (x *CalibrationMsg) GetStartTime() uint32
- func (x *CalibrationMsg) GetStopTime() uint32
- func (*CalibrationMsg) ProtoMessage()
- func (x *CalibrationMsg) ProtoReflect() protoreflect.Message
- func (x *CalibrationMsg) Reset()
- func (x *CalibrationMsg) String() string
- type CalibrationMsg_State
- func (CalibrationMsg_State) Descriptor() protoreflect.EnumDescriptor
- func (x CalibrationMsg_State) Enum() *CalibrationMsg_State
- func (CalibrationMsg_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x CalibrationMsg_State) Number() protoreflect.EnumNumber
- func (x CalibrationMsg_State) String() string
- func (CalibrationMsg_State) Type() protoreflect.EnumType
- type ChripParamMsg
- func (*ChripParamMsg) Descriptor() ([]byte, []int)deprecated
- func (x *ChripParamMsg) GetCorrectionParam() string
- func (x *ChripParamMsg) GetOccuStanceParam() string
- func (x *ChripParamMsg) GetOccupancyFlagsCfg() string
- func (x *ChripParamMsg) GetOccupancyParamCfg() string
- func (x *ChripParamMsg) GetProfileCfg() string
- func (x *ChripParamMsg) GetSceenRoiParam() string
- func (*ChripParamMsg) ProtoMessage()
- func (x *ChripParamMsg) ProtoReflect() protoreflect.Message
- func (x *ChripParamMsg) Reset()
- func (x *ChripParamMsg) String() string
- type DesiredMsg
- func (*DesiredMsg) Descriptor() ([]byte, []int)deprecated
- func (x *DesiredMsg) GetAutoUpgrade() bool
- func (x *DesiredMsg) GetAvs() *AvsMsg
- func (x *DesiredMsg) GetCalibration() *CalibrationMsg
- func (x *DesiredMsg) GetChripParam() *ChripParamMsg
- func (x *DesiredMsg) GetStitchParam() *StitchParamMsg
- func (x *DesiredMsg) GetVersionInfo() *VersionMsg
- func (x *DesiredMsg) GetVideoSources() []*VideoSource
- func (*DesiredMsg) ProtoMessage()
- func (x *DesiredMsg) ProtoReflect() protoreflect.Message
- func (x *DesiredMsg) Reset()
- func (x *DesiredMsg) String() string
- type DeviceReq
- type EnvironmentMsg
- func (*EnvironmentMsg) Descriptor() ([]byte, []int)deprecated
- func (x *EnvironmentMsg) GetDownDis() float64
- func (x *EnvironmentMsg) GetHeight() float64
- func (x *EnvironmentMsg) GetLeftDis() float64
- func (x *EnvironmentMsg) GetRightDis() float64
- func (x *EnvironmentMsg) GetRotation() float64
- func (x *EnvironmentMsg) GetUpDis() float64
- func (*EnvironmentMsg) ProtoMessage()
- func (x *EnvironmentMsg) ProtoReflect() protoreflect.Message
- func (x *EnvironmentMsg) Reset()
- func (x *EnvironmentMsg) String() string
- type HealthMsg
- type Msg
- type ReportedMsg
- func (*ReportedMsg) Descriptor() ([]byte, []int)deprecated
- func (x *ReportedMsg) GetConnected() bool
- func (x *ReportedMsg) GetDiscoveredVideoSources() []string
- func (x *ReportedMsg) GetEnvironment() *EnvironmentMsg
- func (x *ReportedMsg) GetHealth() *HealthMsg
- func (x *ReportedMsg) GetIp() string
- func (x *ReportedMsg) GetLastVersionInfo() *VersionMsg
- func (x *ReportedMsg) GetStatus() string
- func (x *ReportedMsg) GetVersionInfo() *VersionMsg
- func (x *ReportedMsg) GetVideoSources() []*VideoSource
- func (*ReportedMsg) ProtoMessage()
- func (x *ReportedMsg) ProtoReflect() protoreflect.Message
- func (x *ReportedMsg) Reset()
- func (x *ReportedMsg) String() string
- type Res
- type Res_Status
- type ServiceClient
- type ServiceServer
- type Service_GetMsgClient
- type Service_GetMsgServer
- type SetMsgReq
- type StateMsg
- func (*StateMsg) Descriptor() ([]byte, []int)deprecated
- func (x *StateMsg) GetDesired() *DesiredMsg
- func (x *StateMsg) GetId() string
- func (x *StateMsg) GetReported() *ReportedMsg
- func (*StateMsg) ProtoMessage()
- func (x *StateMsg) ProtoReflect() protoreflect.Message
- func (x *StateMsg) Reset()
- func (x *StateMsg) String() string
- type StitchParamMsg
- func (*StitchParamMsg) Descriptor() ([]byte, []int)deprecated
- func (x *StitchParamMsg) GetHeight() float32
- func (x *StitchParamMsg) GetShiftX() float32
- func (x *StitchParamMsg) GetShiftZ() float32
- func (x *StitchParamMsg) GetTheta() float32
- func (*StitchParamMsg) ProtoMessage()
- func (x *StitchParamMsg) ProtoReflect() protoreflect.Message
- func (x *StitchParamMsg) Reset()
- func (x *StitchParamMsg) String() string
- type UnimplementedServiceServer
- type UnsafeServiceServer
- type VersionMsg
- func (*VersionMsg) Descriptor() ([]byte, []int)deprecated
- func (x *VersionMsg) GetBranch() string
- func (x *VersionMsg) GetChripVersion() string
- func (x *VersionMsg) GetEsp32Version() string
- func (x *VersionMsg) GetMmwaveVersion() string
- func (x *VersionMsg) GetPortalVersion() string
- func (*VersionMsg) ProtoMessage()
- func (x *VersionMsg) ProtoReflect() protoreflect.Message
- func (x *VersionMsg) Reset()
- func (x *VersionMsg) String() string
- type VideoSource
Constants ¶
This section is empty.
Variables ¶
var ( CalibrationMsg_State_name = map[int32]string{ 0: "None", 1: "Calibrating", 2: "Fail", 3: "Success", 4: "Collecting", } CalibrationMsg_State_value = map[string]int32{ "None": 0, "Calibrating": 1, "Fail": 2, "Success": 3, "Collecting": 4, } )
Enum value maps for CalibrationMsg_State.
var ( Res_Status_name = map[int32]string{ 0: "OK", 1: "Fail", } Res_Status_value = map[string]int32{ "OK": 0, "Fail": 1, } )
Enum value maps for Res_Status.
var File_shadow_proto protoreflect.FileDescriptor
var Service_ServiceDesc = grpc.ServiceDesc{ ServiceName: "Shadow.Service", HandlerType: (*ServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SetMsg", Handler: _Service_SetMsg_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetMsg", Handler: _Service_GetMsg_Handler, ServerStreams: true, }, }, Metadata: "shadow.proto", }
Service_ServiceDesc is the grpc.ServiceDesc for Service service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterServiceServer ¶
func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
Types ¶
type AvsMsg ¶
type AvsMsg struct { ClientId string `protobuf:"bytes,1,opt,name=clientId,proto3" json:"clientId,omitempty"` RedirectUrl string `protobuf:"bytes,2,opt,name=redirectUrl,proto3" json:"redirectUrl,omitempty"` AuthCode string `protobuf:"bytes,3,opt,name=authCode,proto3" json:"authCode,omitempty"` CodeVerifier string `protobuf:"bytes,4,opt,name=codeVerifier,proto3" json:"codeVerifier,omitempty"` // contains filtered or unexported fields }
func (*AvsMsg) Descriptor
deprecated
func (*AvsMsg) GetAuthCode ¶
func (*AvsMsg) GetClientId ¶
func (*AvsMsg) GetCodeVerifier ¶
func (*AvsMsg) GetRedirectUrl ¶
func (*AvsMsg) ProtoMessage ¶
func (*AvsMsg) ProtoMessage()
func (*AvsMsg) ProtoReflect ¶
func (x *AvsMsg) ProtoReflect() protoreflect.Message
type CalibrationMsg ¶
type CalibrationMsg struct { StartTime uint32 `protobuf:"varint,1,opt,name=startTime,proto3" json:"startTime,omitempty"` StopTime uint32 `protobuf:"varint,2,opt,name=stopTime,proto3" json:"stopTime,omitempty"` Auto bool `protobuf:"varint,3,opt,name=auto,proto3" json:"auto,omitempty"` CalibrationState CalibrationMsg_State `protobuf:"varint,4,opt,name=calibrationState,proto3,enum=Shadow.CalibrationMsg_State" json:"calibrationState,omitempty"` Environment *EnvironmentMsg `protobuf:"bytes,5,opt,name=environment,proto3" json:"environment,omitempty"` // contains filtered or unexported fields }
func (*CalibrationMsg) Descriptor
deprecated
func (*CalibrationMsg) Descriptor() ([]byte, []int)
Deprecated: Use CalibrationMsg.ProtoReflect.Descriptor instead.
func (*CalibrationMsg) GetAuto ¶
func (x *CalibrationMsg) GetAuto() bool
func (*CalibrationMsg) GetCalibrationState ¶
func (x *CalibrationMsg) GetCalibrationState() CalibrationMsg_State
func (*CalibrationMsg) GetEnvironment ¶
func (x *CalibrationMsg) GetEnvironment() *EnvironmentMsg
func (*CalibrationMsg) GetStartTime ¶
func (x *CalibrationMsg) GetStartTime() uint32
func (*CalibrationMsg) GetStopTime ¶
func (x *CalibrationMsg) GetStopTime() uint32
func (*CalibrationMsg) ProtoMessage ¶
func (*CalibrationMsg) ProtoMessage()
func (*CalibrationMsg) ProtoReflect ¶
func (x *CalibrationMsg) ProtoReflect() protoreflect.Message
func (*CalibrationMsg) Reset ¶
func (x *CalibrationMsg) Reset()
func (*CalibrationMsg) String ¶
func (x *CalibrationMsg) String() string
type CalibrationMsg_State ¶
type CalibrationMsg_State int32
const ( CalibrationMsg_None CalibrationMsg_State = 0 CalibrationMsg_Calibrating CalibrationMsg_State = 1 CalibrationMsg_Fail CalibrationMsg_State = 2 CalibrationMsg_Success CalibrationMsg_State = 3 CalibrationMsg_Collecting CalibrationMsg_State = 4 )
func (CalibrationMsg_State) Descriptor ¶
func (CalibrationMsg_State) Descriptor() protoreflect.EnumDescriptor
func (CalibrationMsg_State) Enum ¶
func (x CalibrationMsg_State) Enum() *CalibrationMsg_State
func (CalibrationMsg_State) EnumDescriptor
deprecated
func (CalibrationMsg_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use CalibrationMsg_State.Descriptor instead.
func (CalibrationMsg_State) Number ¶
func (x CalibrationMsg_State) Number() protoreflect.EnumNumber
func (CalibrationMsg_State) String ¶
func (x CalibrationMsg_State) String() string
func (CalibrationMsg_State) Type ¶
func (CalibrationMsg_State) Type() protoreflect.EnumType
type ChripParamMsg ¶
type ChripParamMsg struct { OccupancyFlagsCfg string `protobuf:"bytes,1,opt,name=occupancyFlagsCfg,proto3" json:"occupancyFlagsCfg,omitempty"` OccupancyParamCfg string `protobuf:"bytes,2,opt,name=occupancyParamCfg,proto3" json:"occupancyParamCfg,omitempty"` CorrectionParam string `protobuf:"bytes,3,opt,name=correctionParam,proto3" json:"correctionParam,omitempty"` OccuStanceParam string `protobuf:"bytes,4,opt,name=occuStanceParam,proto3" json:"occuStanceParam,omitempty"` SceenRoiParam string `protobuf:"bytes,5,opt,name=sceenRoiParam,proto3" json:"sceenRoiParam,omitempty"` ProfileCfg string `protobuf:"bytes,6,opt,name=profileCfg,proto3" json:"profileCfg,omitempty"` // contains filtered or unexported fields }
func (*ChripParamMsg) Descriptor
deprecated
func (*ChripParamMsg) Descriptor() ([]byte, []int)
Deprecated: Use ChripParamMsg.ProtoReflect.Descriptor instead.
func (*ChripParamMsg) GetCorrectionParam ¶
func (x *ChripParamMsg) GetCorrectionParam() string
func (*ChripParamMsg) GetOccuStanceParam ¶
func (x *ChripParamMsg) GetOccuStanceParam() string
func (*ChripParamMsg) GetOccupancyFlagsCfg ¶
func (x *ChripParamMsg) GetOccupancyFlagsCfg() string
func (*ChripParamMsg) GetOccupancyParamCfg ¶
func (x *ChripParamMsg) GetOccupancyParamCfg() string
func (*ChripParamMsg) GetProfileCfg ¶
func (x *ChripParamMsg) GetProfileCfg() string
func (*ChripParamMsg) GetSceenRoiParam ¶
func (x *ChripParamMsg) GetSceenRoiParam() string
func (*ChripParamMsg) ProtoMessage ¶
func (*ChripParamMsg) ProtoMessage()
func (*ChripParamMsg) ProtoReflect ¶
func (x *ChripParamMsg) ProtoReflect() protoreflect.Message
func (*ChripParamMsg) Reset ¶
func (x *ChripParamMsg) Reset()
func (*ChripParamMsg) String ¶
func (x *ChripParamMsg) String() string
type DesiredMsg ¶
type DesiredMsg struct { VideoSources []*VideoSource `protobuf:"bytes,1,rep,name=videoSources,proto3" json:"videoSources,omitempty"` VersionInfo *VersionMsg `protobuf:"bytes,2,opt,name=versionInfo,proto3" json:"versionInfo,omitempty"` Avs *AvsMsg `protobuf:"bytes,3,opt,name=avs,proto3" json:"avs,omitempty"` AutoUpgrade bool `protobuf:"varint,4,opt,name=autoUpgrade,proto3" json:"autoUpgrade,omitempty"` Calibration *CalibrationMsg `protobuf:"bytes,5,opt,name=calibration,proto3" json:"calibration,omitempty"` StitchParam *StitchParamMsg `protobuf:"bytes,6,opt,name=stitchParam,proto3" json:"stitchParam,omitempty"` ChripParam *ChripParamMsg `protobuf:"bytes,7,opt,name=chripParam,proto3" json:"chripParam,omitempty"` // contains filtered or unexported fields }
func (*DesiredMsg) Descriptor
deprecated
func (*DesiredMsg) Descriptor() ([]byte, []int)
Deprecated: Use DesiredMsg.ProtoReflect.Descriptor instead.
func (*DesiredMsg) GetAutoUpgrade ¶
func (x *DesiredMsg) GetAutoUpgrade() bool
func (*DesiredMsg) GetAvs ¶
func (x *DesiredMsg) GetAvs() *AvsMsg
func (*DesiredMsg) GetCalibration ¶
func (x *DesiredMsg) GetCalibration() *CalibrationMsg
func (*DesiredMsg) GetChripParam ¶
func (x *DesiredMsg) GetChripParam() *ChripParamMsg
func (*DesiredMsg) GetStitchParam ¶
func (x *DesiredMsg) GetStitchParam() *StitchParamMsg
func (*DesiredMsg) GetVersionInfo ¶
func (x *DesiredMsg) GetVersionInfo() *VersionMsg
func (*DesiredMsg) GetVideoSources ¶
func (x *DesiredMsg) GetVideoSources() []*VideoSource
func (*DesiredMsg) ProtoMessage ¶
func (*DesiredMsg) ProtoMessage()
func (*DesiredMsg) ProtoReflect ¶
func (x *DesiredMsg) ProtoReflect() protoreflect.Message
func (*DesiredMsg) Reset ¶
func (x *DesiredMsg) Reset()
func (*DesiredMsg) String ¶
func (x *DesiredMsg) String() string
type DeviceReq ¶
type DeviceReq struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*DeviceReq) Descriptor
deprecated
func (*DeviceReq) ProtoMessage ¶
func (*DeviceReq) ProtoMessage()
func (*DeviceReq) ProtoReflect ¶
func (x *DeviceReq) ProtoReflect() protoreflect.Message
type EnvironmentMsg ¶
type EnvironmentMsg struct { Rotation float64 `protobuf:"fixed64,1,opt,name=rotation,proto3" json:"rotation,omitempty"` UpDis float64 `protobuf:"fixed64,2,opt,name=upDis,proto3" json:"upDis,omitempty"` DownDis float64 `protobuf:"fixed64,3,opt,name=downDis,proto3" json:"downDis,omitempty"` LeftDis float64 `protobuf:"fixed64,4,opt,name=leftDis,proto3" json:"leftDis,omitempty"` RightDis float64 `protobuf:"fixed64,5,opt,name=rightDis,proto3" json:"rightDis,omitempty"` Height float64 `protobuf:"fixed64,6,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*EnvironmentMsg) Descriptor
deprecated
func (*EnvironmentMsg) Descriptor() ([]byte, []int)
Deprecated: Use EnvironmentMsg.ProtoReflect.Descriptor instead.
func (*EnvironmentMsg) GetDownDis ¶
func (x *EnvironmentMsg) GetDownDis() float64
func (*EnvironmentMsg) GetHeight ¶
func (x *EnvironmentMsg) GetHeight() float64
func (*EnvironmentMsg) GetLeftDis ¶
func (x *EnvironmentMsg) GetLeftDis() float64
func (*EnvironmentMsg) GetRightDis ¶
func (x *EnvironmentMsg) GetRightDis() float64
func (*EnvironmentMsg) GetRotation ¶
func (x *EnvironmentMsg) GetRotation() float64
func (*EnvironmentMsg) GetUpDis ¶
func (x *EnvironmentMsg) GetUpDis() float64
func (*EnvironmentMsg) ProtoMessage ¶
func (*EnvironmentMsg) ProtoMessage()
func (*EnvironmentMsg) ProtoReflect ¶
func (x *EnvironmentMsg) ProtoReflect() protoreflect.Message
func (*EnvironmentMsg) Reset ¶
func (x *EnvironmentMsg) Reset()
func (*EnvironmentMsg) String ¶
func (x *EnvironmentMsg) String() string
type HealthMsg ¶
type HealthMsg struct { Uptime uint32 `protobuf:"varint,1,opt,name=uptime,proto3" json:"uptime,omitempty"` RebootReason string `protobuf:"bytes,2,opt,name=rebootReason,proto3" json:"rebootReason,omitempty"` // contains filtered or unexported fields }
func (*HealthMsg) Descriptor
deprecated
func (*HealthMsg) GetRebootReason ¶
func (*HealthMsg) ProtoMessage ¶
func (*HealthMsg) ProtoMessage()
func (*HealthMsg) ProtoReflect ¶
func (x *HealthMsg) ProtoReflect() protoreflect.Message
type Msg ¶
type Msg struct { State *StateMsg `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*Msg) Descriptor
deprecated
func (*Msg) ProtoMessage ¶
func (*Msg) ProtoMessage()
func (*Msg) ProtoReflect ¶
func (x *Msg) ProtoReflect() protoreflect.Message
type ReportedMsg ¶
type ReportedMsg struct { VideoSources []*VideoSource `protobuf:"bytes,1,rep,name=videoSources,proto3" json:"videoSources,omitempty"` DiscoveredVideoSources []string `protobuf:"bytes,2,rep,name=discoveredVideoSources,proto3" json:"discoveredVideoSources,omitempty"` Connected bool `protobuf:"varint,3,opt,name=connected,proto3" json:"connected,omitempty"` Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` Ip string `protobuf:"bytes,5,opt,name=ip,proto3" json:"ip,omitempty"` VersionInfo *VersionMsg `protobuf:"bytes,6,opt,name=versionInfo,proto3" json:"versionInfo,omitempty"` LastVersionInfo *VersionMsg `protobuf:"bytes,7,opt,name=lastVersionInfo,proto3" json:"lastVersionInfo,omitempty"` Health *HealthMsg `protobuf:"bytes,8,opt,name=health,proto3" json:"health,omitempty"` Environment *EnvironmentMsg `protobuf:"bytes,9,opt,name=environment,proto3" json:"environment,omitempty"` // contains filtered or unexported fields }
func (*ReportedMsg) Descriptor
deprecated
func (*ReportedMsg) Descriptor() ([]byte, []int)
Deprecated: Use ReportedMsg.ProtoReflect.Descriptor instead.
func (*ReportedMsg) GetConnected ¶
func (x *ReportedMsg) GetConnected() bool
func (*ReportedMsg) GetDiscoveredVideoSources ¶
func (x *ReportedMsg) GetDiscoveredVideoSources() []string
func (*ReportedMsg) GetEnvironment ¶
func (x *ReportedMsg) GetEnvironment() *EnvironmentMsg
func (*ReportedMsg) GetHealth ¶
func (x *ReportedMsg) GetHealth() *HealthMsg
func (*ReportedMsg) GetIp ¶
func (x *ReportedMsg) GetIp() string
func (*ReportedMsg) GetLastVersionInfo ¶
func (x *ReportedMsg) GetLastVersionInfo() *VersionMsg
func (*ReportedMsg) GetStatus ¶
func (x *ReportedMsg) GetStatus() string
func (*ReportedMsg) GetVersionInfo ¶
func (x *ReportedMsg) GetVersionInfo() *VersionMsg
func (*ReportedMsg) GetVideoSources ¶
func (x *ReportedMsg) GetVideoSources() []*VideoSource
func (*ReportedMsg) ProtoMessage ¶
func (*ReportedMsg) ProtoMessage()
func (*ReportedMsg) ProtoReflect ¶
func (x *ReportedMsg) ProtoReflect() protoreflect.Message
func (*ReportedMsg) Reset ¶
func (x *ReportedMsg) Reset()
func (*ReportedMsg) String ¶
func (x *ReportedMsg) String() string
type Res ¶
type Res struct { Status Res_Status `protobuf:"varint,1,opt,name=status,proto3,enum=Shadow.Res_Status" json:"status,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*Res) Descriptor
deprecated
func (*Res) GetStatus ¶
func (x *Res) GetStatus() Res_Status
func (*Res) ProtoMessage ¶
func (*Res) ProtoMessage()
func (*Res) ProtoReflect ¶
func (x *Res) ProtoReflect() protoreflect.Message
type Res_Status ¶
type Res_Status int32
const ( Res_OK Res_Status = 0 Res_Fail Res_Status = 1 )
func (Res_Status) Descriptor ¶
func (Res_Status) Descriptor() protoreflect.EnumDescriptor
func (Res_Status) Enum ¶
func (x Res_Status) Enum() *Res_Status
func (Res_Status) EnumDescriptor
deprecated
func (Res_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Res_Status.Descriptor instead.
func (Res_Status) Number ¶
func (x Res_Status) Number() protoreflect.EnumNumber
func (Res_Status) String ¶
func (x Res_Status) String() string
func (Res_Status) Type ¶
func (Res_Status) Type() protoreflect.EnumType
type ServiceClient ¶
type ServiceClient interface { GetMsg(ctx context.Context, in *DeviceReq, opts ...grpc.CallOption) (Service_GetMsgClient, error) SetMsg(ctx context.Context, in *SetMsgReq, opts ...grpc.CallOption) (*Res, error) }
ServiceClient is the client API for Service service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewServiceClient ¶
func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient
type ServiceServer ¶
type ServiceServer interface { GetMsg(*DeviceReq, Service_GetMsgServer) error SetMsg(context.Context, *SetMsgReq) (*Res, error) // contains filtered or unexported methods }
ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility
type Service_GetMsgClient ¶
type Service_GetMsgClient interface { Recv() (*Msg, error) grpc.ClientStream }
type Service_GetMsgServer ¶
type Service_GetMsgServer interface { Send(*Msg) error grpc.ServerStream }
type SetMsgReq ¶
type SetMsgReq struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*SetMsgReq) Descriptor
deprecated
func (*SetMsgReq) ProtoMessage ¶
func (*SetMsgReq) ProtoMessage()
func (*SetMsgReq) ProtoReflect ¶
func (x *SetMsgReq) ProtoReflect() protoreflect.Message
type StateMsg ¶
type StateMsg struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Desired *DesiredMsg `protobuf:"bytes,2,opt,name=desired,proto3" json:"desired,omitempty"` Reported *ReportedMsg `protobuf:"bytes,3,opt,name=reported,proto3" json:"reported,omitempty"` // contains filtered or unexported fields }
func (*StateMsg) Descriptor
deprecated
func (*StateMsg) GetDesired ¶
func (x *StateMsg) GetDesired() *DesiredMsg
func (*StateMsg) GetReported ¶
func (x *StateMsg) GetReported() *ReportedMsg
func (*StateMsg) ProtoMessage ¶
func (*StateMsg) ProtoMessage()
func (*StateMsg) ProtoReflect ¶
func (x *StateMsg) ProtoReflect() protoreflect.Message
type StitchParamMsg ¶
type StitchParamMsg struct { Height float32 `protobuf:"fixed32,1,opt,name=height,proto3" json:"height,omitempty"` Theta float32 `protobuf:"fixed32,2,opt,name=theta,proto3" json:"theta,omitempty"` ShiftX float32 `protobuf:"fixed32,3,opt,name=shiftX,proto3" json:"shiftX,omitempty"` ShiftZ float32 `protobuf:"fixed32,4,opt,name=shiftZ,proto3" json:"shiftZ,omitempty"` // contains filtered or unexported fields }
func (*StitchParamMsg) Descriptor
deprecated
func (*StitchParamMsg) Descriptor() ([]byte, []int)
Deprecated: Use StitchParamMsg.ProtoReflect.Descriptor instead.
func (*StitchParamMsg) GetHeight ¶
func (x *StitchParamMsg) GetHeight() float32
func (*StitchParamMsg) GetShiftX ¶
func (x *StitchParamMsg) GetShiftX() float32
func (*StitchParamMsg) GetShiftZ ¶
func (x *StitchParamMsg) GetShiftZ() float32
func (*StitchParamMsg) GetTheta ¶
func (x *StitchParamMsg) GetTheta() float32
func (*StitchParamMsg) ProtoMessage ¶
func (*StitchParamMsg) ProtoMessage()
func (*StitchParamMsg) ProtoReflect ¶
func (x *StitchParamMsg) ProtoReflect() protoreflect.Message
func (*StitchParamMsg) Reset ¶
func (x *StitchParamMsg) Reset()
func (*StitchParamMsg) String ¶
func (x *StitchParamMsg) String() string
type UnimplementedServiceServer ¶
type UnimplementedServiceServer struct { }
UnimplementedServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedServiceServer) GetMsg ¶
func (UnimplementedServiceServer) GetMsg(*DeviceReq, Service_GetMsgServer) error
type UnsafeServiceServer ¶
type UnsafeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceServer will result in compilation errors.
type VersionMsg ¶
type VersionMsg struct { Branch string `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` ChripVersion string `protobuf:"bytes,2,opt,name=chripVersion,proto3" json:"chripVersion,omitempty"` MmwaveVersion string `protobuf:"bytes,3,opt,name=mmwaveVersion,proto3" json:"mmwaveVersion,omitempty"` Esp32Version string `protobuf:"bytes,4,opt,name=esp32Version,proto3" json:"esp32Version,omitempty"` PortalVersion string `protobuf:"bytes,5,opt,name=portalVersion,proto3" json:"portalVersion,omitempty"` // contains filtered or unexported fields }
func (*VersionMsg) Descriptor
deprecated
func (*VersionMsg) Descriptor() ([]byte, []int)
Deprecated: Use VersionMsg.ProtoReflect.Descriptor instead.
func (*VersionMsg) GetBranch ¶
func (x *VersionMsg) GetBranch() string
func (*VersionMsg) GetChripVersion ¶
func (x *VersionMsg) GetChripVersion() string
func (*VersionMsg) GetEsp32Version ¶
func (x *VersionMsg) GetEsp32Version() string
func (*VersionMsg) GetMmwaveVersion ¶
func (x *VersionMsg) GetMmwaveVersion() string
func (*VersionMsg) GetPortalVersion ¶
func (x *VersionMsg) GetPortalVersion() string
func (*VersionMsg) ProtoMessage ¶
func (*VersionMsg) ProtoMessage()
func (*VersionMsg) ProtoReflect ¶
func (x *VersionMsg) ProtoReflect() protoreflect.Message
func (*VersionMsg) Reset ¶
func (x *VersionMsg) Reset()
func (*VersionMsg) String ¶
func (x *VersionMsg) String() string
type VideoSource ¶
type VideoSource struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*VideoSource) Descriptor
deprecated
func (*VideoSource) Descriptor() ([]byte, []int)
Deprecated: Use VideoSource.ProtoReflect.Descriptor instead.
func (*VideoSource) GetId ¶
func (x *VideoSource) GetId() string
func (*VideoSource) GetPassword ¶
func (x *VideoSource) GetPassword() string
func (*VideoSource) ProtoMessage ¶
func (*VideoSource) ProtoMessage()
func (*VideoSource) ProtoReflect ¶
func (x *VideoSource) ProtoReflect() protoreflect.Message
func (*VideoSource) Reset ¶
func (x *VideoSource) Reset()
func (*VideoSource) String ¶
func (x *VideoSource) String() string