Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterIotServiceServer(s grpc.ServiceRegistrar, srv IotServiceServer)
- type CreateHomeReq
- func (*CreateHomeReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateHomeReq) GetAddress() string
- func (x *CreateHomeReq) GetName() string
- func (x *CreateHomeReq) GetUserId() uint32
- func (*CreateHomeReq) ProtoMessage()
- func (x *CreateHomeReq) ProtoReflect() protoreflect.Message
- func (x *CreateHomeReq) Reset()
- func (x *CreateHomeReq) String() string
- type CreateHomeResp
- func (*CreateHomeResp) Descriptor() ([]byte, []int)deprecated
- func (x *CreateHomeResp) GetCode() int32
- func (x *CreateHomeResp) GetData() *CreateHomeRespData
- func (x *CreateHomeResp) GetMsg() string
- func (x *CreateHomeResp) GetPath() string
- func (x *CreateHomeResp) GetRequestID() string
- func (*CreateHomeResp) ProtoMessage()
- func (x *CreateHomeResp) ProtoReflect() protoreflect.Message
- func (x *CreateHomeResp) Reset()
- func (x *CreateHomeResp) String() string
- type CreateHomeRespData
- func (*CreateHomeRespData) Descriptor() ([]byte, []int)deprecated
- func (x *CreateHomeRespData) GetAddress() string
- func (x *CreateHomeRespData) GetId() uint32
- func (x *CreateHomeRespData) GetMember() []*ModelMember
- func (x *CreateHomeRespData) GetName() string
- func (x *CreateHomeRespData) GetUserId() uint32
- func (*CreateHomeRespData) ProtoMessage()
- func (x *CreateHomeRespData) ProtoReflect() protoreflect.Message
- func (x *CreateHomeRespData) Reset()
- func (x *CreateHomeRespData) String() string
- type CreateMemberReq
- func (*CreateMemberReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMemberReq) GetHomeId() uint32
- func (x *CreateMemberReq) GetRole() int32
- func (x *CreateMemberReq) GetUserId() uint32
- func (*CreateMemberReq) ProtoMessage()
- func (x *CreateMemberReq) ProtoReflect() protoreflect.Message
- func (x *CreateMemberReq) Reset()
- func (x *CreateMemberReq) String() string
- type CreateMemberResp
- func (*CreateMemberResp) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMemberResp) GetCode() int32
- func (x *CreateMemberResp) GetData() *ModelMember
- func (x *CreateMemberResp) GetMsg() string
- func (x *CreateMemberResp) GetPath() string
- func (x *CreateMemberResp) GetRequestID() string
- func (*CreateMemberResp) ProtoMessage()
- func (x *CreateMemberResp) ProtoReflect() protoreflect.Message
- func (x *CreateMemberResp) Reset()
- func (x *CreateMemberResp) String() string
- type CreateRoomReq
- func (*CreateRoomReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoomReq) GetHomeId() uint32
- func (x *CreateRoomReq) GetName() string
- func (x *CreateRoomReq) GetUserId() uint32
- func (*CreateRoomReq) ProtoMessage()
- func (x *CreateRoomReq) ProtoReflect() protoreflect.Message
- func (x *CreateRoomReq) Reset()
- func (x *CreateRoomReq) String() string
- type CreateRoomResp
- func (*CreateRoomResp) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoomResp) GetCode() int32
- func (x *CreateRoomResp) GetData() *ModelRoom
- func (x *CreateRoomResp) GetMsg() string
- func (x *CreateRoomResp) GetPath() string
- func (x *CreateRoomResp) GetRequestID() string
- func (*CreateRoomResp) ProtoMessage()
- func (x *CreateRoomResp) ProtoReflect() protoreflect.Message
- func (x *CreateRoomResp) Reset()
- func (x *CreateRoomResp) String() string
- type DeleteIdsReq
- type DeleteReq
- type IotServiceClient
- type IotServiceServer
- type ModelHome
- func (*ModelHome) Descriptor() ([]byte, []int)deprecated
- func (x *ModelHome) GetAddress() string
- func (x *ModelHome) GetId() uint32
- func (x *ModelHome) GetMembers() []*ModelMember
- func (x *ModelHome) GetName() string
- func (x *ModelHome) GetRooms() []*ModelRoom
- func (x *ModelHome) GetStatus() int64
- func (x *ModelHome) GetUserId() uint32
- func (*ModelHome) ProtoMessage()
- func (x *ModelHome) ProtoReflect() protoreflect.Message
- func (x *ModelHome) Reset()
- func (x *ModelHome) String() string
- type ModelMember
- func (*ModelMember) Descriptor() ([]byte, []int)deprecated
- func (x *ModelMember) GetHomeId() uint32
- func (x *ModelMember) GetId() uint32
- func (x *ModelMember) GetRole() int32
- func (x *ModelMember) GetStatus() int64
- func (x *ModelMember) GetUserId() uint32
- func (*ModelMember) ProtoMessage()
- func (x *ModelMember) ProtoReflect() protoreflect.Message
- func (x *ModelMember) Reset()
- func (x *ModelMember) String() string
- type ModelRoom
- func (*ModelRoom) Descriptor() ([]byte, []int)deprecated
- func (x *ModelRoom) GetHomeId() uint32
- func (x *ModelRoom) GetId() uint32
- func (x *ModelRoom) GetName() string
- func (x *ModelRoom) GetStatus() int64
- func (x *ModelRoom) GetUserId() uint32
- func (*ModelRoom) ProtoMessage()
- func (x *ModelRoom) ProtoReflect() protoreflect.Message
- func (x *ModelRoom) Reset()
- func (x *ModelRoom) String() string
- type QueryHomeListReq
- func (*QueryHomeListReq) Descriptor() ([]byte, []int)deprecated
- func (x *QueryHomeListReq) GetEndTime() int64
- func (x *QueryHomeListReq) GetKeyword() string
- func (x *QueryHomeListReq) GetPage() int32
- func (x *QueryHomeListReq) GetPageSize() int32
- func (x *QueryHomeListReq) GetStartTime() int64
- func (x *QueryHomeListReq) GetUserId() uint32
- func (*QueryHomeListReq) ProtoMessage()
- func (x *QueryHomeListReq) ProtoReflect() protoreflect.Message
- func (x *QueryHomeListReq) Reset()
- func (x *QueryHomeListReq) String() string
- type QueryHomeListResp
- func (*QueryHomeListResp) Descriptor() ([]byte, []int)deprecated
- func (x *QueryHomeListResp) GetCode() int32
- func (x *QueryHomeListResp) GetData() *QueryHomeListRespData
- func (x *QueryHomeListResp) GetMsg() string
- func (x *QueryHomeListResp) GetPath() string
- func (x *QueryHomeListResp) GetRequestID() string
- func (*QueryHomeListResp) ProtoMessage()
- func (x *QueryHomeListResp) ProtoReflect() protoreflect.Message
- func (x *QueryHomeListResp) Reset()
- func (x *QueryHomeListResp) String() string
- type QueryHomeListRespData
- func (*QueryHomeListRespData) Descriptor() ([]byte, []int)deprecated
- func (x *QueryHomeListRespData) GetList() []*ModelHome
- func (x *QueryHomeListRespData) GetPage() int32
- func (x *QueryHomeListRespData) GetPageSize() int32
- func (x *QueryHomeListRespData) GetTotal() int64
- func (*QueryHomeListRespData) ProtoMessage()
- func (x *QueryHomeListRespData) ProtoReflect() protoreflect.Message
- func (x *QueryHomeListRespData) Reset()
- func (x *QueryHomeListRespData) String() string
- type QueryHomeResp
- func (*QueryHomeResp) Descriptor() ([]byte, []int)deprecated
- func (x *QueryHomeResp) GetCode() int32
- func (x *QueryHomeResp) GetData() *ModelHome
- func (x *QueryHomeResp) GetMsg() string
- func (x *QueryHomeResp) GetPath() string
- func (x *QueryHomeResp) GetRequestID() string
- func (*QueryHomeResp) ProtoMessage()
- func (x *QueryHomeResp) ProtoReflect() protoreflect.Message
- func (x *QueryHomeResp) Reset()
- func (x *QueryHomeResp) String() string
- type QueryMemberListReq
- func (*QueryMemberListReq) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMemberListReq) GetEndTime() int64
- func (x *QueryMemberListReq) GetHomeId() uint32
- func (x *QueryMemberListReq) GetPage() int32
- func (x *QueryMemberListReq) GetPageSize() int32
- func (x *QueryMemberListReq) GetStartTime() int64
- func (x *QueryMemberListReq) GetUserId() uint32
- func (*QueryMemberListReq) ProtoMessage()
- func (x *QueryMemberListReq) ProtoReflect() protoreflect.Message
- func (x *QueryMemberListReq) Reset()
- func (x *QueryMemberListReq) String() string
- type QueryMemberListResp
- func (*QueryMemberListResp) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMemberListResp) GetCode() int32
- func (x *QueryMemberListResp) GetData() *QueryMemberListRespData
- func (x *QueryMemberListResp) GetMsg() string
- func (x *QueryMemberListResp) GetPath() string
- func (x *QueryMemberListResp) GetRequestID() string
- func (*QueryMemberListResp) ProtoMessage()
- func (x *QueryMemberListResp) ProtoReflect() protoreflect.Message
- func (x *QueryMemberListResp) Reset()
- func (x *QueryMemberListResp) String() string
- type QueryMemberListRespData
- func (*QueryMemberListRespData) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMemberListRespData) GetList() []*ModelMember
- func (x *QueryMemberListRespData) GetPage() int32
- func (x *QueryMemberListRespData) GetPageSize() int32
- func (x *QueryMemberListRespData) GetTotal() int64
- func (*QueryMemberListRespData) ProtoMessage()
- func (x *QueryMemberListRespData) ProtoReflect() protoreflect.Message
- func (x *QueryMemberListRespData) Reset()
- func (x *QueryMemberListRespData) String() string
- type QueryMemberResp
- func (*QueryMemberResp) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMemberResp) GetCode() int32
- func (x *QueryMemberResp) GetData() *ModelMember
- func (x *QueryMemberResp) GetMsg() string
- func (x *QueryMemberResp) GetPath() string
- func (x *QueryMemberResp) GetRequestID() string
- func (*QueryMemberResp) ProtoMessage()
- func (x *QueryMemberResp) ProtoReflect() protoreflect.Message
- func (x *QueryMemberResp) Reset()
- func (x *QueryMemberResp) String() string
- type QueryReq
- type QueryRoomListReq
- func (*QueryRoomListReq) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRoomListReq) GetEndTime() int64
- func (x *QueryRoomListReq) GetHomeId() uint32
- func (x *QueryRoomListReq) GetKeyword() string
- func (x *QueryRoomListReq) GetPage() int32
- func (x *QueryRoomListReq) GetPageSize() int32
- func (x *QueryRoomListReq) GetStartTime() int64
- func (x *QueryRoomListReq) GetUserId() uint32
- func (*QueryRoomListReq) ProtoMessage()
- func (x *QueryRoomListReq) ProtoReflect() protoreflect.Message
- func (x *QueryRoomListReq) Reset()
- func (x *QueryRoomListReq) String() string
- type QueryRoomListResp
- func (*QueryRoomListResp) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRoomListResp) GetCode() int32
- func (x *QueryRoomListResp) GetData() *QueryRoomListRespData
- func (x *QueryRoomListResp) GetMsg() string
- func (x *QueryRoomListResp) GetPath() string
- func (x *QueryRoomListResp) GetRequestID() string
- func (*QueryRoomListResp) ProtoMessage()
- func (x *QueryRoomListResp) ProtoReflect() protoreflect.Message
- func (x *QueryRoomListResp) Reset()
- func (x *QueryRoomListResp) String() string
- type QueryRoomListRespData
- func (*QueryRoomListRespData) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRoomListRespData) GetList() []*ModelRoom
- func (x *QueryRoomListRespData) GetPage() int32
- func (x *QueryRoomListRespData) GetPageSize() int32
- func (x *QueryRoomListRespData) GetTotal() int64
- func (*QueryRoomListRespData) ProtoMessage()
- func (x *QueryRoomListRespData) ProtoReflect() protoreflect.Message
- func (x *QueryRoomListRespData) Reset()
- func (x *QueryRoomListRespData) String() string
- type QueryRoomResp
- func (*QueryRoomResp) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRoomResp) GetCode() int32
- func (x *QueryRoomResp) GetData() *ModelRoom
- func (x *QueryRoomResp) GetMsg() string
- func (x *QueryRoomResp) GetPath() string
- func (x *QueryRoomResp) GetRequestID() string
- func (*QueryRoomResp) ProtoMessage()
- func (x *QueryRoomResp) ProtoReflect() protoreflect.Message
- func (x *QueryRoomResp) Reset()
- func (x *QueryRoomResp) String() string
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetCode() int32
- func (x *Response) GetMsg() string
- func (x *Response) GetPath() string
- func (x *Response) GetRequestID() string
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type UnimplementedIotServiceServer
- func (UnimplementedIotServiceServer) HomeCreate(context.Context, *CreateHomeReq) (*Response, error)
- func (UnimplementedIotServiceServer) HomeDelete(context.Context, *DeleteReq) (*Response, error)
- func (UnimplementedIotServiceServer) HomeDeleteIds(context.Context, *DeleteIdsReq) (*Response, error)
- func (UnimplementedIotServiceServer) HomeQuery(context.Context, *QueryReq) (*QueryHomeResp, error)
- func (UnimplementedIotServiceServer) HomeQueryList(context.Context, *QueryHomeListReq) (*QueryHomeListResp, error)
- func (UnimplementedIotServiceServer) HomeUpdate(context.Context, *UpdateHomeReq) (*Response, error)
- func (UnimplementedIotServiceServer) HomeUpdateStatus(context.Context, *UpdateStatusReq) (*Response, error)
- func (UnimplementedIotServiceServer) MemberCreate(context.Context, *CreateMemberReq) (*Response, error)
- func (UnimplementedIotServiceServer) MemberDelete(context.Context, *DeleteReq) (*Response, error)
- func (UnimplementedIotServiceServer) MemberDeleteIds(context.Context, *DeleteIdsReq) (*Response, error)
- func (UnimplementedIotServiceServer) MemberQuery(context.Context, *QueryReq) (*QueryMemberResp, error)
- func (UnimplementedIotServiceServer) MemberQueryList(context.Context, *QueryMemberListReq) (*QueryMemberListResp, error)
- func (UnimplementedIotServiceServer) MemberUpdate(context.Context, *UpdateMemberReq) (*Response, error)
- func (UnimplementedIotServiceServer) MemberUpdateStatus(context.Context, *UpdateStatusReq) (*Response, error)
- func (UnimplementedIotServiceServer) RoomCreate(context.Context, *CreateRoomReq) (*Response, error)
- func (UnimplementedIotServiceServer) RoomDelete(context.Context, *DeleteReq) (*Response, error)
- func (UnimplementedIotServiceServer) RoomDeleteIds(context.Context, *DeleteIdsReq) (*Response, error)
- func (UnimplementedIotServiceServer) RoomQuery(context.Context, *QueryReq) (*QueryRoomResp, error)
- func (UnimplementedIotServiceServer) RoomQueryList(context.Context, *QueryRoomListReq) (*QueryRoomListResp, error)
- func (UnimplementedIotServiceServer) RoomUpdate(context.Context, *UpdateRoomReq) (*Response, error)
- func (UnimplementedIotServiceServer) RoomUpdateStatus(context.Context, *UpdateStatusReq) (*Response, error)
- type UnsafeIotServiceServer
- type UpdateHomeReq
- func (*UpdateHomeReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateHomeReq) GetId() uint32
- func (x *UpdateHomeReq) GetName() string
- func (*UpdateHomeReq) ProtoMessage()
- func (x *UpdateHomeReq) ProtoReflect() protoreflect.Message
- func (x *UpdateHomeReq) Reset()
- func (x *UpdateHomeReq) String() string
- type UpdateMemberReq
- func (*UpdateMemberReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMemberReq) GetHomeId() uint32
- func (x *UpdateMemberReq) GetId() uint32
- func (x *UpdateMemberReq) GetRole() int32
- func (*UpdateMemberReq) ProtoMessage()
- func (x *UpdateMemberReq) ProtoReflect() protoreflect.Message
- func (x *UpdateMemberReq) Reset()
- func (x *UpdateMemberReq) String() string
- type UpdateRoomReq
- func (*UpdateRoomReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRoomReq) GetId() uint32
- func (x *UpdateRoomReq) GetName() string
- func (*UpdateRoomReq) ProtoMessage()
- func (x *UpdateRoomReq) ProtoReflect() protoreflect.Message
- func (x *UpdateRoomReq) Reset()
- func (x *UpdateRoomReq) String() string
- type UpdateStatusReq
- func (*UpdateStatusReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateStatusReq) GetId() uint32
- func (x *UpdateStatusReq) GetStatus() int64
- func (*UpdateStatusReq) ProtoMessage()
- func (x *UpdateStatusReq) ProtoReflect() protoreflect.Message
- func (x *UpdateStatusReq) Reset()
- func (x *UpdateStatusReq) String() string
Constants ¶
const ( IotService_HomeCreate_FullMethodName = "/iot.IotService/HomeCreate" IotService_HomeUpdate_FullMethodName = "/iot.IotService/HomeUpdate" IotService_HomeDelete_FullMethodName = "/iot.IotService/HomeDelete" IotService_HomeDeleteIds_FullMethodName = "/iot.IotService/HomeDeleteIds" IotService_HomeQuery_FullMethodName = "/iot.IotService/HomeQuery" IotService_HomeQueryList_FullMethodName = "/iot.IotService/HomeQueryList" IotService_HomeUpdateStatus_FullMethodName = "/iot.IotService/HomeUpdateStatus" IotService_MemberCreate_FullMethodName = "/iot.IotService/MemberCreate" IotService_MemberUpdate_FullMethodName = "/iot.IotService/MemberUpdate" IotService_MemberDelete_FullMethodName = "/iot.IotService/MemberDelete" IotService_MemberDeleteIds_FullMethodName = "/iot.IotService/MemberDeleteIds" IotService_MemberQuery_FullMethodName = "/iot.IotService/MemberQuery" IotService_MemberQueryList_FullMethodName = "/iot.IotService/MemberQueryList" IotService_MemberUpdateStatus_FullMethodName = "/iot.IotService/MemberUpdateStatus" IotService_RoomCreate_FullMethodName = "/iot.IotService/RoomCreate" IotService_RoomUpdate_FullMethodName = "/iot.IotService/RoomUpdate" IotService_RoomDelete_FullMethodName = "/iot.IotService/RoomDelete" IotService_RoomDeleteIds_FullMethodName = "/iot.IotService/RoomDeleteIds" IotService_RoomQuery_FullMethodName = "/iot.IotService/RoomQuery" IotService_RoomQueryList_FullMethodName = "/iot.IotService/RoomQueryList" IotService_RoomUpdateStatus_FullMethodName = "/iot.IotService/RoomUpdateStatus" )
Variables ¶
var File_iot_proto protoreflect.FileDescriptor
var IotService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "iot.IotService", HandlerType: (*IotServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "HomeCreate", Handler: _IotService_HomeCreate_Handler, }, { MethodName: "HomeUpdate", Handler: _IotService_HomeUpdate_Handler, }, { MethodName: "HomeDelete", Handler: _IotService_HomeDelete_Handler, }, { MethodName: "HomeDeleteIds", Handler: _IotService_HomeDeleteIds_Handler, }, { MethodName: "HomeQuery", Handler: _IotService_HomeQuery_Handler, }, { MethodName: "HomeQueryList", Handler: _IotService_HomeQueryList_Handler, }, { MethodName: "HomeUpdateStatus", Handler: _IotService_HomeUpdateStatus_Handler, }, { MethodName: "MemberCreate", Handler: _IotService_MemberCreate_Handler, }, { MethodName: "MemberUpdate", Handler: _IotService_MemberUpdate_Handler, }, { MethodName: "MemberDelete", Handler: _IotService_MemberDelete_Handler, }, { MethodName: "MemberDeleteIds", Handler: _IotService_MemberDeleteIds_Handler, }, { MethodName: "MemberQuery", Handler: _IotService_MemberQuery_Handler, }, { MethodName: "MemberQueryList", Handler: _IotService_MemberQueryList_Handler, }, { MethodName: "MemberUpdateStatus", Handler: _IotService_MemberUpdateStatus_Handler, }, { MethodName: "RoomCreate", Handler: _IotService_RoomCreate_Handler, }, { MethodName: "RoomUpdate", Handler: _IotService_RoomUpdate_Handler, }, { MethodName: "RoomDelete", Handler: _IotService_RoomDelete_Handler, }, { MethodName: "RoomDeleteIds", Handler: _IotService_RoomDeleteIds_Handler, }, { MethodName: "RoomQuery", Handler: _IotService_RoomQuery_Handler, }, { MethodName: "RoomQueryList", Handler: _IotService_RoomQueryList_Handler, }, { MethodName: "RoomUpdateStatus", Handler: _IotService_RoomUpdateStatus_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "iot.proto", }
IotService_ServiceDesc is the grpc.ServiceDesc for IotService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIotServiceServer ¶ added in v0.0.11
func RegisterIotServiceServer(s grpc.ServiceRegistrar, srv IotServiceServer)
Types ¶
type CreateHomeReq ¶
type CreateHomeReq struct { UserId uint32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
note: home 家庭
func (*CreateHomeReq) Descriptor
deprecated
func (*CreateHomeReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateHomeReq.ProtoReflect.Descriptor instead.
func (*CreateHomeReq) GetAddress ¶
func (x *CreateHomeReq) GetAddress() string
func (*CreateHomeReq) GetName ¶
func (x *CreateHomeReq) GetName() string
func (*CreateHomeReq) GetUserId ¶
func (x *CreateHomeReq) GetUserId() uint32
func (*CreateHomeReq) ProtoMessage ¶
func (*CreateHomeReq) ProtoMessage()
func (*CreateHomeReq) ProtoReflect ¶
func (x *CreateHomeReq) ProtoReflect() protoreflect.Message
func (*CreateHomeReq) Reset ¶
func (x *CreateHomeReq) Reset()
func (*CreateHomeReq) String ¶
func (x *CreateHomeReq) String() string
type CreateHomeResp ¶ added in v0.0.11
type CreateHomeResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *CreateHomeRespData `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateHomeResp) Descriptor
deprecated
added in
v0.0.11
func (*CreateHomeResp) Descriptor() ([]byte, []int)
Deprecated: Use CreateHomeResp.ProtoReflect.Descriptor instead.
func (*CreateHomeResp) GetCode ¶ added in v0.0.11
func (x *CreateHomeResp) GetCode() int32
func (*CreateHomeResp) GetData ¶ added in v0.0.11
func (x *CreateHomeResp) GetData() *CreateHomeRespData
func (*CreateHomeResp) GetMsg ¶ added in v0.0.11
func (x *CreateHomeResp) GetMsg() string
func (*CreateHomeResp) GetPath ¶ added in v0.0.11
func (x *CreateHomeResp) GetPath() string
func (*CreateHomeResp) GetRequestID ¶ added in v0.0.11
func (x *CreateHomeResp) GetRequestID() string
func (*CreateHomeResp) ProtoMessage ¶ added in v0.0.11
func (*CreateHomeResp) ProtoMessage()
func (*CreateHomeResp) ProtoReflect ¶ added in v0.0.11
func (x *CreateHomeResp) ProtoReflect() protoreflect.Message
func (*CreateHomeResp) Reset ¶ added in v0.0.11
func (x *CreateHomeResp) Reset()
func (*CreateHomeResp) String ¶ added in v0.0.11
func (x *CreateHomeResp) String() string
type CreateHomeRespData ¶ added in v0.0.11
type CreateHomeRespData struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` UserId uint32 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` Member []*ModelMember `protobuf:"bytes,5,rep,name=member,proto3" json:"member,omitempty"` // contains filtered or unexported fields }
func (*CreateHomeRespData) Descriptor
deprecated
added in
v0.0.11
func (*CreateHomeRespData) Descriptor() ([]byte, []int)
Deprecated: Use CreateHomeRespData.ProtoReflect.Descriptor instead.
func (*CreateHomeRespData) GetAddress ¶ added in v0.0.11
func (x *CreateHomeRespData) GetAddress() string
func (*CreateHomeRespData) GetId ¶ added in v0.0.11
func (x *CreateHomeRespData) GetId() uint32
func (*CreateHomeRespData) GetMember ¶ added in v0.0.11
func (x *CreateHomeRespData) GetMember() []*ModelMember
func (*CreateHomeRespData) GetName ¶ added in v0.0.11
func (x *CreateHomeRespData) GetName() string
func (*CreateHomeRespData) GetUserId ¶ added in v0.0.11
func (x *CreateHomeRespData) GetUserId() uint32
func (*CreateHomeRespData) ProtoMessage ¶ added in v0.0.11
func (*CreateHomeRespData) ProtoMessage()
func (*CreateHomeRespData) ProtoReflect ¶ added in v0.0.11
func (x *CreateHomeRespData) ProtoReflect() protoreflect.Message
func (*CreateHomeRespData) Reset ¶ added in v0.0.11
func (x *CreateHomeRespData) Reset()
func (*CreateHomeRespData) String ¶ added in v0.0.11
func (x *CreateHomeRespData) String() string
type CreateMemberReq ¶ added in v0.0.11
type CreateMemberReq struct { UserId uint32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` HomeId uint32 `protobuf:"varint,2,opt,name=homeId,proto3" json:"homeId,omitempty"` Role int32 `protobuf:"varint,3,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
note: member 家庭成员
func (*CreateMemberReq) Descriptor
deprecated
added in
v0.0.11
func (*CreateMemberReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateMemberReq.ProtoReflect.Descriptor instead.
func (*CreateMemberReq) GetHomeId ¶ added in v0.0.11
func (x *CreateMemberReq) GetHomeId() uint32
func (*CreateMemberReq) GetRole ¶ added in v0.0.11
func (x *CreateMemberReq) GetRole() int32
func (*CreateMemberReq) GetUserId ¶ added in v0.0.11
func (x *CreateMemberReq) GetUserId() uint32
func (*CreateMemberReq) ProtoMessage ¶ added in v0.0.11
func (*CreateMemberReq) ProtoMessage()
func (*CreateMemberReq) ProtoReflect ¶ added in v0.0.11
func (x *CreateMemberReq) ProtoReflect() protoreflect.Message
func (*CreateMemberReq) Reset ¶ added in v0.0.11
func (x *CreateMemberReq) Reset()
func (*CreateMemberReq) String ¶ added in v0.0.11
func (x *CreateMemberReq) String() string
type CreateMemberResp ¶ added in v0.0.11
type CreateMemberResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *ModelMember `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateMemberResp) Descriptor
deprecated
added in
v0.0.11
func (*CreateMemberResp) Descriptor() ([]byte, []int)
Deprecated: Use CreateMemberResp.ProtoReflect.Descriptor instead.
func (*CreateMemberResp) GetCode ¶ added in v0.0.11
func (x *CreateMemberResp) GetCode() int32
func (*CreateMemberResp) GetData ¶ added in v0.0.11
func (x *CreateMemberResp) GetData() *ModelMember
func (*CreateMemberResp) GetMsg ¶ added in v0.0.11
func (x *CreateMemberResp) GetMsg() string
func (*CreateMemberResp) GetPath ¶ added in v0.0.11
func (x *CreateMemberResp) GetPath() string
func (*CreateMemberResp) GetRequestID ¶ added in v0.0.11
func (x *CreateMemberResp) GetRequestID() string
func (*CreateMemberResp) ProtoMessage ¶ added in v0.0.11
func (*CreateMemberResp) ProtoMessage()
func (*CreateMemberResp) ProtoReflect ¶ added in v0.0.11
func (x *CreateMemberResp) ProtoReflect() protoreflect.Message
func (*CreateMemberResp) Reset ¶ added in v0.0.11
func (x *CreateMemberResp) Reset()
func (*CreateMemberResp) String ¶ added in v0.0.11
func (x *CreateMemberResp) String() string
type CreateRoomReq ¶ added in v0.0.11
type CreateRoomReq struct { UserId uint32 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` HomeId uint32 `protobuf:"varint,2,opt,name=homeId,proto3" json:"homeId,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
note: room 房间
func (*CreateRoomReq) Descriptor
deprecated
added in
v0.0.11
func (*CreateRoomReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoomReq.ProtoReflect.Descriptor instead.
func (*CreateRoomReq) GetHomeId ¶ added in v0.0.11
func (x *CreateRoomReq) GetHomeId() uint32
func (*CreateRoomReq) GetName ¶ added in v0.0.11
func (x *CreateRoomReq) GetName() string
func (*CreateRoomReq) GetUserId ¶ added in v0.0.11
func (x *CreateRoomReq) GetUserId() uint32
func (*CreateRoomReq) ProtoMessage ¶ added in v0.0.11
func (*CreateRoomReq) ProtoMessage()
func (*CreateRoomReq) ProtoReflect ¶ added in v0.0.11
func (x *CreateRoomReq) ProtoReflect() protoreflect.Message
func (*CreateRoomReq) Reset ¶ added in v0.0.11
func (x *CreateRoomReq) Reset()
func (*CreateRoomReq) String ¶ added in v0.0.11
func (x *CreateRoomReq) String() string
type CreateRoomResp ¶ added in v0.0.11
type CreateRoomResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *ModelRoom `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateRoomResp) Descriptor
deprecated
added in
v0.0.11
func (*CreateRoomResp) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoomResp.ProtoReflect.Descriptor instead.
func (*CreateRoomResp) GetCode ¶ added in v0.0.11
func (x *CreateRoomResp) GetCode() int32
func (*CreateRoomResp) GetData ¶ added in v0.0.11
func (x *CreateRoomResp) GetData() *ModelRoom
func (*CreateRoomResp) GetMsg ¶ added in v0.0.11
func (x *CreateRoomResp) GetMsg() string
func (*CreateRoomResp) GetPath ¶ added in v0.0.11
func (x *CreateRoomResp) GetPath() string
func (*CreateRoomResp) GetRequestID ¶ added in v0.0.11
func (x *CreateRoomResp) GetRequestID() string
func (*CreateRoomResp) ProtoMessage ¶ added in v0.0.11
func (*CreateRoomResp) ProtoMessage()
func (*CreateRoomResp) ProtoReflect ¶ added in v0.0.11
func (x *CreateRoomResp) ProtoReflect() protoreflect.Message
func (*CreateRoomResp) Reset ¶ added in v0.0.11
func (x *CreateRoomResp) Reset()
func (*CreateRoomResp) String ¶ added in v0.0.11
func (x *CreateRoomResp) String() string
type DeleteIdsReq ¶
type DeleteIdsReq struct { Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*DeleteIdsReq) Descriptor
deprecated
func (*DeleteIdsReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIdsReq.ProtoReflect.Descriptor instead.
func (*DeleteIdsReq) GetIds ¶
func (x *DeleteIdsReq) GetIds() []uint32
func (*DeleteIdsReq) ProtoMessage ¶
func (*DeleteIdsReq) ProtoMessage()
func (*DeleteIdsReq) ProtoReflect ¶
func (x *DeleteIdsReq) ProtoReflect() protoreflect.Message
func (*DeleteIdsReq) Reset ¶
func (x *DeleteIdsReq) Reset()
func (*DeleteIdsReq) String ¶
func (x *DeleteIdsReq) String() string
type DeleteReq ¶
type DeleteReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` UserId uint32 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` // contains filtered or unexported fields }
func (*DeleteReq) Descriptor
deprecated
func (*DeleteReq) ProtoMessage ¶
func (*DeleteReq) ProtoMessage()
func (*DeleteReq) ProtoReflect ¶
func (x *DeleteReq) ProtoReflect() protoreflect.Message
type IotServiceClient ¶ added in v0.0.11
type IotServiceClient interface { HomeCreate(ctx context.Context, in *CreateHomeReq, opts ...grpc.CallOption) (*Response, error) HomeUpdate(ctx context.Context, in *UpdateHomeReq, opts ...grpc.CallOption) (*Response, error) HomeDelete(ctx context.Context, in *DeleteReq, opts ...grpc.CallOption) (*Response, error) HomeDeleteIds(ctx context.Context, in *DeleteIdsReq, opts ...grpc.CallOption) (*Response, error) HomeQuery(ctx context.Context, in *QueryReq, opts ...grpc.CallOption) (*QueryHomeResp, error) HomeQueryList(ctx context.Context, in *QueryHomeListReq, opts ...grpc.CallOption) (*QueryHomeListResp, error) HomeUpdateStatus(ctx context.Context, in *UpdateStatusReq, opts ...grpc.CallOption) (*Response, error) MemberCreate(ctx context.Context, in *CreateMemberReq, opts ...grpc.CallOption) (*Response, error) MemberUpdate(ctx context.Context, in *UpdateMemberReq, opts ...grpc.CallOption) (*Response, error) MemberDelete(ctx context.Context, in *DeleteReq, opts ...grpc.CallOption) (*Response, error) MemberDeleteIds(ctx context.Context, in *DeleteIdsReq, opts ...grpc.CallOption) (*Response, error) MemberQuery(ctx context.Context, in *QueryReq, opts ...grpc.CallOption) (*QueryMemberResp, error) MemberQueryList(ctx context.Context, in *QueryMemberListReq, opts ...grpc.CallOption) (*QueryMemberListResp, error) MemberUpdateStatus(ctx context.Context, in *UpdateStatusReq, opts ...grpc.CallOption) (*Response, error) RoomCreate(ctx context.Context, in *CreateRoomReq, opts ...grpc.CallOption) (*Response, error) RoomUpdate(ctx context.Context, in *UpdateRoomReq, opts ...grpc.CallOption) (*Response, error) RoomDelete(ctx context.Context, in *DeleteReq, opts ...grpc.CallOption) (*Response, error) RoomDeleteIds(ctx context.Context, in *DeleteIdsReq, opts ...grpc.CallOption) (*Response, error) RoomQuery(ctx context.Context, in *QueryReq, opts ...grpc.CallOption) (*QueryRoomResp, error) RoomQueryList(ctx context.Context, in *QueryRoomListReq, opts ...grpc.CallOption) (*QueryRoomListResp, error) RoomUpdateStatus(ctx context.Context, in *UpdateStatusReq, opts ...grpc.CallOption) (*Response, error) }
IotServiceClient is the client API for IotService 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 NewIotServiceClient ¶ added in v0.0.11
func NewIotServiceClient(cc grpc.ClientConnInterface) IotServiceClient
type IotServiceServer ¶ added in v0.0.11
type IotServiceServer interface { HomeCreate(context.Context, *CreateHomeReq) (*Response, error) HomeUpdate(context.Context, *UpdateHomeReq) (*Response, error) HomeDelete(context.Context, *DeleteReq) (*Response, error) HomeDeleteIds(context.Context, *DeleteIdsReq) (*Response, error) HomeQuery(context.Context, *QueryReq) (*QueryHomeResp, error) HomeQueryList(context.Context, *QueryHomeListReq) (*QueryHomeListResp, error) HomeUpdateStatus(context.Context, *UpdateStatusReq) (*Response, error) MemberCreate(context.Context, *CreateMemberReq) (*Response, error) MemberUpdate(context.Context, *UpdateMemberReq) (*Response, error) MemberDelete(context.Context, *DeleteReq) (*Response, error) MemberDeleteIds(context.Context, *DeleteIdsReq) (*Response, error) MemberQuery(context.Context, *QueryReq) (*QueryMemberResp, error) MemberQueryList(context.Context, *QueryMemberListReq) (*QueryMemberListResp, error) MemberUpdateStatus(context.Context, *UpdateStatusReq) (*Response, error) RoomCreate(context.Context, *CreateRoomReq) (*Response, error) RoomUpdate(context.Context, *UpdateRoomReq) (*Response, error) RoomDelete(context.Context, *DeleteReq) (*Response, error) RoomDeleteIds(context.Context, *DeleteIdsReq) (*Response, error) RoomQuery(context.Context, *QueryReq) (*QueryRoomResp, error) RoomQueryList(context.Context, *QueryRoomListReq) (*QueryRoomListResp, error) RoomUpdateStatus(context.Context, *UpdateStatusReq) (*Response, error) // contains filtered or unexported methods }
IotServiceServer is the server API for IotService service. All implementations must embed UnimplementedIotServiceServer for forward compatibility
type ModelHome ¶
type ModelHome struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` UserId uint32 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` Status int64 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` Members []*ModelMember `protobuf:"bytes,6,rep,name=members,proto3" json:"members,omitempty"` Rooms []*ModelRoom `protobuf:"bytes,7,rep,name=rooms,proto3" json:"rooms,omitempty"` // contains filtered or unexported fields }
note: 通用部分
func (*ModelHome) Descriptor
deprecated
func (*ModelHome) GetAddress ¶
func (*ModelHome) GetMembers ¶ added in v0.0.11
func (x *ModelHome) GetMembers() []*ModelMember
func (*ModelHome) ProtoMessage ¶
func (*ModelHome) ProtoMessage()
func (*ModelHome) ProtoReflect ¶
func (x *ModelHome) ProtoReflect() protoreflect.Message
type ModelMember ¶
type ModelMember struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` UserId uint32 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` HomeId uint32 `protobuf:"varint,3,opt,name=homeId,proto3" json:"homeId,omitempty"` Role int32 `protobuf:"varint,4,opt,name=role,proto3" json:"role,omitempty"` Status int64 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ModelMember) Descriptor
deprecated
func (*ModelMember) Descriptor() ([]byte, []int)
Deprecated: Use ModelMember.ProtoReflect.Descriptor instead.
func (*ModelMember) GetHomeId ¶
func (x *ModelMember) GetHomeId() uint32
func (*ModelMember) GetId ¶
func (x *ModelMember) GetId() uint32
func (*ModelMember) GetRole ¶
func (x *ModelMember) GetRole() int32
func (*ModelMember) GetStatus ¶ added in v0.0.11
func (x *ModelMember) GetStatus() int64
func (*ModelMember) GetUserId ¶
func (x *ModelMember) GetUserId() uint32
func (*ModelMember) ProtoMessage ¶
func (*ModelMember) ProtoMessage()
func (*ModelMember) ProtoReflect ¶
func (x *ModelMember) ProtoReflect() protoreflect.Message
func (*ModelMember) Reset ¶
func (x *ModelMember) Reset()
func (*ModelMember) String ¶
func (x *ModelMember) String() string
type ModelRoom ¶ added in v0.0.11
type ModelRoom struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` UserId uint32 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` HomeId uint32 `protobuf:"varint,3,opt,name=homeId,proto3" json:"homeId,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Status int64 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ModelRoom) Descriptor
deprecated
added in
v0.0.11
func (*ModelRoom) ProtoMessage ¶ added in v0.0.11
func (*ModelRoom) ProtoMessage()
func (*ModelRoom) ProtoReflect ¶ added in v0.0.11
func (x *ModelRoom) ProtoReflect() protoreflect.Message
type QueryHomeListReq ¶ added in v0.0.11
type QueryHomeListReq struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` StartTime int64 `protobuf:"varint,3,opt,name=startTime,proto3" json:"startTime,omitempty"` EndTime int64 `protobuf:"varint,4,opt,name=endTime,proto3" json:"endTime,omitempty"` Keyword string `protobuf:"bytes,5,opt,name=keyword,proto3" json:"keyword,omitempty"` UserId uint32 `protobuf:"varint,6,opt,name=userId,proto3" json:"userId,omitempty"` // contains filtered or unexported fields }
func (*QueryHomeListReq) Descriptor
deprecated
added in
v0.0.11
func (*QueryHomeListReq) Descriptor() ([]byte, []int)
Deprecated: Use QueryHomeListReq.ProtoReflect.Descriptor instead.
func (*QueryHomeListReq) GetEndTime ¶ added in v0.0.11
func (x *QueryHomeListReq) GetEndTime() int64
func (*QueryHomeListReq) GetKeyword ¶ added in v0.0.11
func (x *QueryHomeListReq) GetKeyword() string
func (*QueryHomeListReq) GetPage ¶ added in v0.0.11
func (x *QueryHomeListReq) GetPage() int32
func (*QueryHomeListReq) GetPageSize ¶ added in v0.0.11
func (x *QueryHomeListReq) GetPageSize() int32
func (*QueryHomeListReq) GetStartTime ¶ added in v0.0.11
func (x *QueryHomeListReq) GetStartTime() int64
func (*QueryHomeListReq) GetUserId ¶ added in v0.0.11
func (x *QueryHomeListReq) GetUserId() uint32
func (*QueryHomeListReq) ProtoMessage ¶ added in v0.0.11
func (*QueryHomeListReq) ProtoMessage()
func (*QueryHomeListReq) ProtoReflect ¶ added in v0.0.11
func (x *QueryHomeListReq) ProtoReflect() protoreflect.Message
func (*QueryHomeListReq) Reset ¶ added in v0.0.11
func (x *QueryHomeListReq) Reset()
func (*QueryHomeListReq) String ¶ added in v0.0.11
func (x *QueryHomeListReq) String() string
type QueryHomeListResp ¶ added in v0.0.11
type QueryHomeListResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *QueryHomeListRespData `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*QueryHomeListResp) Descriptor
deprecated
added in
v0.0.11
func (*QueryHomeListResp) Descriptor() ([]byte, []int)
Deprecated: Use QueryHomeListResp.ProtoReflect.Descriptor instead.
func (*QueryHomeListResp) GetCode ¶ added in v0.0.11
func (x *QueryHomeListResp) GetCode() int32
func (*QueryHomeListResp) GetData ¶ added in v0.0.11
func (x *QueryHomeListResp) GetData() *QueryHomeListRespData
func (*QueryHomeListResp) GetMsg ¶ added in v0.0.11
func (x *QueryHomeListResp) GetMsg() string
func (*QueryHomeListResp) GetPath ¶ added in v0.0.11
func (x *QueryHomeListResp) GetPath() string
func (*QueryHomeListResp) GetRequestID ¶ added in v0.0.11
func (x *QueryHomeListResp) GetRequestID() string
func (*QueryHomeListResp) ProtoMessage ¶ added in v0.0.11
func (*QueryHomeListResp) ProtoMessage()
func (*QueryHomeListResp) ProtoReflect ¶ added in v0.0.11
func (x *QueryHomeListResp) ProtoReflect() protoreflect.Message
func (*QueryHomeListResp) Reset ¶ added in v0.0.11
func (x *QueryHomeListResp) Reset()
func (*QueryHomeListResp) String ¶ added in v0.0.11
func (x *QueryHomeListResp) String() string
type QueryHomeListRespData ¶ added in v0.0.11
type QueryHomeListRespData struct { List []*ModelHome `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,4,opt,name=pageSize,proto3" json:"pageSize,omitempty"` // contains filtered or unexported fields }
func (*QueryHomeListRespData) Descriptor
deprecated
added in
v0.0.11
func (*QueryHomeListRespData) Descriptor() ([]byte, []int)
Deprecated: Use QueryHomeListRespData.ProtoReflect.Descriptor instead.
func (*QueryHomeListRespData) GetList ¶ added in v0.0.11
func (x *QueryHomeListRespData) GetList() []*ModelHome
func (*QueryHomeListRespData) GetPage ¶ added in v0.0.11
func (x *QueryHomeListRespData) GetPage() int32
func (*QueryHomeListRespData) GetPageSize ¶ added in v0.0.11
func (x *QueryHomeListRespData) GetPageSize() int32
func (*QueryHomeListRespData) GetTotal ¶ added in v0.0.11
func (x *QueryHomeListRespData) GetTotal() int64
func (*QueryHomeListRespData) ProtoMessage ¶ added in v0.0.11
func (*QueryHomeListRespData) ProtoMessage()
func (*QueryHomeListRespData) ProtoReflect ¶ added in v0.0.11
func (x *QueryHomeListRespData) ProtoReflect() protoreflect.Message
func (*QueryHomeListRespData) Reset ¶ added in v0.0.11
func (x *QueryHomeListRespData) Reset()
func (*QueryHomeListRespData) String ¶ added in v0.0.11
func (x *QueryHomeListRespData) String() string
type QueryHomeResp ¶ added in v0.0.11
type QueryHomeResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *ModelHome `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*QueryHomeResp) Descriptor
deprecated
added in
v0.0.11
func (*QueryHomeResp) Descriptor() ([]byte, []int)
Deprecated: Use QueryHomeResp.ProtoReflect.Descriptor instead.
func (*QueryHomeResp) GetCode ¶ added in v0.0.11
func (x *QueryHomeResp) GetCode() int32
func (*QueryHomeResp) GetData ¶ added in v0.0.11
func (x *QueryHomeResp) GetData() *ModelHome
func (*QueryHomeResp) GetMsg ¶ added in v0.0.11
func (x *QueryHomeResp) GetMsg() string
func (*QueryHomeResp) GetPath ¶ added in v0.0.11
func (x *QueryHomeResp) GetPath() string
func (*QueryHomeResp) GetRequestID ¶ added in v0.0.11
func (x *QueryHomeResp) GetRequestID() string
func (*QueryHomeResp) ProtoMessage ¶ added in v0.0.11
func (*QueryHomeResp) ProtoMessage()
func (*QueryHomeResp) ProtoReflect ¶ added in v0.0.11
func (x *QueryHomeResp) ProtoReflect() protoreflect.Message
func (*QueryHomeResp) Reset ¶ added in v0.0.11
func (x *QueryHomeResp) Reset()
func (*QueryHomeResp) String ¶ added in v0.0.11
func (x *QueryHomeResp) String() string
type QueryMemberListReq ¶ added in v0.0.11
type QueryMemberListReq struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` StartTime int64 `protobuf:"varint,3,opt,name=startTime,proto3" json:"startTime,omitempty"` EndTime int64 `protobuf:"varint,4,opt,name=endTime,proto3" json:"endTime,omitempty"` UserId uint32 `protobuf:"varint,6,opt,name=userId,proto3" json:"userId,omitempty"` HomeId uint32 `protobuf:"varint,7,opt,name=homeId,proto3" json:"homeId,omitempty"` // contains filtered or unexported fields }
func (*QueryMemberListReq) Descriptor
deprecated
added in
v0.0.11
func (*QueryMemberListReq) Descriptor() ([]byte, []int)
Deprecated: Use QueryMemberListReq.ProtoReflect.Descriptor instead.
func (*QueryMemberListReq) GetEndTime ¶ added in v0.0.11
func (x *QueryMemberListReq) GetEndTime() int64
func (*QueryMemberListReq) GetHomeId ¶ added in v0.0.11
func (x *QueryMemberListReq) GetHomeId() uint32
func (*QueryMemberListReq) GetPage ¶ added in v0.0.11
func (x *QueryMemberListReq) GetPage() int32
func (*QueryMemberListReq) GetPageSize ¶ added in v0.0.11
func (x *QueryMemberListReq) GetPageSize() int32
func (*QueryMemberListReq) GetStartTime ¶ added in v0.0.11
func (x *QueryMemberListReq) GetStartTime() int64
func (*QueryMemberListReq) GetUserId ¶ added in v0.0.11
func (x *QueryMemberListReq) GetUserId() uint32
func (*QueryMemberListReq) ProtoMessage ¶ added in v0.0.11
func (*QueryMemberListReq) ProtoMessage()
func (*QueryMemberListReq) ProtoReflect ¶ added in v0.0.11
func (x *QueryMemberListReq) ProtoReflect() protoreflect.Message
func (*QueryMemberListReq) Reset ¶ added in v0.0.11
func (x *QueryMemberListReq) Reset()
func (*QueryMemberListReq) String ¶ added in v0.0.11
func (x *QueryMemberListReq) String() string
type QueryMemberListResp ¶ added in v0.0.11
type QueryMemberListResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *QueryMemberListRespData `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*QueryMemberListResp) Descriptor
deprecated
added in
v0.0.11
func (*QueryMemberListResp) Descriptor() ([]byte, []int)
Deprecated: Use QueryMemberListResp.ProtoReflect.Descriptor instead.
func (*QueryMemberListResp) GetCode ¶ added in v0.0.11
func (x *QueryMemberListResp) GetCode() int32
func (*QueryMemberListResp) GetData ¶ added in v0.0.11
func (x *QueryMemberListResp) GetData() *QueryMemberListRespData
func (*QueryMemberListResp) GetMsg ¶ added in v0.0.11
func (x *QueryMemberListResp) GetMsg() string
func (*QueryMemberListResp) GetPath ¶ added in v0.0.11
func (x *QueryMemberListResp) GetPath() string
func (*QueryMemberListResp) GetRequestID ¶ added in v0.0.11
func (x *QueryMemberListResp) GetRequestID() string
func (*QueryMemberListResp) ProtoMessage ¶ added in v0.0.11
func (*QueryMemberListResp) ProtoMessage()
func (*QueryMemberListResp) ProtoReflect ¶ added in v0.0.11
func (x *QueryMemberListResp) ProtoReflect() protoreflect.Message
func (*QueryMemberListResp) Reset ¶ added in v0.0.11
func (x *QueryMemberListResp) Reset()
func (*QueryMemberListResp) String ¶ added in v0.0.11
func (x *QueryMemberListResp) String() string
type QueryMemberListRespData ¶ added in v0.0.11
type QueryMemberListRespData struct { List []*ModelMember `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,4,opt,name=pageSize,proto3" json:"pageSize,omitempty"` // contains filtered or unexported fields }
func (*QueryMemberListRespData) Descriptor
deprecated
added in
v0.0.11
func (*QueryMemberListRespData) Descriptor() ([]byte, []int)
Deprecated: Use QueryMemberListRespData.ProtoReflect.Descriptor instead.
func (*QueryMemberListRespData) GetList ¶ added in v0.0.11
func (x *QueryMemberListRespData) GetList() []*ModelMember
func (*QueryMemberListRespData) GetPage ¶ added in v0.0.11
func (x *QueryMemberListRespData) GetPage() int32
func (*QueryMemberListRespData) GetPageSize ¶ added in v0.0.11
func (x *QueryMemberListRespData) GetPageSize() int32
func (*QueryMemberListRespData) GetTotal ¶ added in v0.0.11
func (x *QueryMemberListRespData) GetTotal() int64
func (*QueryMemberListRespData) ProtoMessage ¶ added in v0.0.11
func (*QueryMemberListRespData) ProtoMessage()
func (*QueryMemberListRespData) ProtoReflect ¶ added in v0.0.11
func (x *QueryMemberListRespData) ProtoReflect() protoreflect.Message
func (*QueryMemberListRespData) Reset ¶ added in v0.0.11
func (x *QueryMemberListRespData) Reset()
func (*QueryMemberListRespData) String ¶ added in v0.0.11
func (x *QueryMemberListRespData) String() string
type QueryMemberResp ¶ added in v0.0.11
type QueryMemberResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *ModelMember `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*QueryMemberResp) Descriptor
deprecated
added in
v0.0.11
func (*QueryMemberResp) Descriptor() ([]byte, []int)
Deprecated: Use QueryMemberResp.ProtoReflect.Descriptor instead.
func (*QueryMemberResp) GetCode ¶ added in v0.0.11
func (x *QueryMemberResp) GetCode() int32
func (*QueryMemberResp) GetData ¶ added in v0.0.11
func (x *QueryMemberResp) GetData() *ModelMember
func (*QueryMemberResp) GetMsg ¶ added in v0.0.11
func (x *QueryMemberResp) GetMsg() string
func (*QueryMemberResp) GetPath ¶ added in v0.0.11
func (x *QueryMemberResp) GetPath() string
func (*QueryMemberResp) GetRequestID ¶ added in v0.0.11
func (x *QueryMemberResp) GetRequestID() string
func (*QueryMemberResp) ProtoMessage ¶ added in v0.0.11
func (*QueryMemberResp) ProtoMessage()
func (*QueryMemberResp) ProtoReflect ¶ added in v0.0.11
func (x *QueryMemberResp) ProtoReflect() protoreflect.Message
func (*QueryMemberResp) Reset ¶ added in v0.0.11
func (x *QueryMemberResp) Reset()
func (*QueryMemberResp) String ¶ added in v0.0.11
func (x *QueryMemberResp) String() string
type QueryReq ¶
type QueryReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*QueryReq) Descriptor
deprecated
func (*QueryReq) ProtoMessage ¶
func (*QueryReq) ProtoMessage()
func (*QueryReq) ProtoReflect ¶
func (x *QueryReq) ProtoReflect() protoreflect.Message
type QueryRoomListReq ¶ added in v0.0.11
type QueryRoomListReq struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` StartTime int64 `protobuf:"varint,3,opt,name=startTime,proto3" json:"startTime,omitempty"` EndTime int64 `protobuf:"varint,4,opt,name=endTime,proto3" json:"endTime,omitempty"` Keyword string `protobuf:"bytes,5,opt,name=keyword,proto3" json:"keyword,omitempty"` UserId uint32 `protobuf:"varint,6,opt,name=userId,proto3" json:"userId,omitempty"` HomeId uint32 `protobuf:"varint,7,opt,name=homeId,proto3" json:"homeId,omitempty"` // contains filtered or unexported fields }
func (*QueryRoomListReq) Descriptor
deprecated
added in
v0.0.11
func (*QueryRoomListReq) Descriptor() ([]byte, []int)
Deprecated: Use QueryRoomListReq.ProtoReflect.Descriptor instead.
func (*QueryRoomListReq) GetEndTime ¶ added in v0.0.11
func (x *QueryRoomListReq) GetEndTime() int64
func (*QueryRoomListReq) GetHomeId ¶ added in v0.0.11
func (x *QueryRoomListReq) GetHomeId() uint32
func (*QueryRoomListReq) GetKeyword ¶ added in v0.0.11
func (x *QueryRoomListReq) GetKeyword() string
func (*QueryRoomListReq) GetPage ¶ added in v0.0.11
func (x *QueryRoomListReq) GetPage() int32
func (*QueryRoomListReq) GetPageSize ¶ added in v0.0.11
func (x *QueryRoomListReq) GetPageSize() int32
func (*QueryRoomListReq) GetStartTime ¶ added in v0.0.11
func (x *QueryRoomListReq) GetStartTime() int64
func (*QueryRoomListReq) GetUserId ¶ added in v0.0.11
func (x *QueryRoomListReq) GetUserId() uint32
func (*QueryRoomListReq) ProtoMessage ¶ added in v0.0.11
func (*QueryRoomListReq) ProtoMessage()
func (*QueryRoomListReq) ProtoReflect ¶ added in v0.0.11
func (x *QueryRoomListReq) ProtoReflect() protoreflect.Message
func (*QueryRoomListReq) Reset ¶ added in v0.0.11
func (x *QueryRoomListReq) Reset()
func (*QueryRoomListReq) String ¶ added in v0.0.11
func (x *QueryRoomListReq) String() string
type QueryRoomListResp ¶ added in v0.0.11
type QueryRoomListResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *QueryRoomListRespData `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*QueryRoomListResp) Descriptor
deprecated
added in
v0.0.11
func (*QueryRoomListResp) Descriptor() ([]byte, []int)
Deprecated: Use QueryRoomListResp.ProtoReflect.Descriptor instead.
func (*QueryRoomListResp) GetCode ¶ added in v0.0.11
func (x *QueryRoomListResp) GetCode() int32
func (*QueryRoomListResp) GetData ¶ added in v0.0.11
func (x *QueryRoomListResp) GetData() *QueryRoomListRespData
func (*QueryRoomListResp) GetMsg ¶ added in v0.0.11
func (x *QueryRoomListResp) GetMsg() string
func (*QueryRoomListResp) GetPath ¶ added in v0.0.11
func (x *QueryRoomListResp) GetPath() string
func (*QueryRoomListResp) GetRequestID ¶ added in v0.0.11
func (x *QueryRoomListResp) GetRequestID() string
func (*QueryRoomListResp) ProtoMessage ¶ added in v0.0.11
func (*QueryRoomListResp) ProtoMessage()
func (*QueryRoomListResp) ProtoReflect ¶ added in v0.0.11
func (x *QueryRoomListResp) ProtoReflect() protoreflect.Message
func (*QueryRoomListResp) Reset ¶ added in v0.0.11
func (x *QueryRoomListResp) Reset()
func (*QueryRoomListResp) String ¶ added in v0.0.11
func (x *QueryRoomListResp) String() string
type QueryRoomListRespData ¶ added in v0.0.11
type QueryRoomListRespData struct { List []*ModelRoom `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,4,opt,name=pageSize,proto3" json:"pageSize,omitempty"` // contains filtered or unexported fields }
func (*QueryRoomListRespData) Descriptor
deprecated
added in
v0.0.11
func (*QueryRoomListRespData) Descriptor() ([]byte, []int)
Deprecated: Use QueryRoomListRespData.ProtoReflect.Descriptor instead.
func (*QueryRoomListRespData) GetList ¶ added in v0.0.11
func (x *QueryRoomListRespData) GetList() []*ModelRoom
func (*QueryRoomListRespData) GetPage ¶ added in v0.0.11
func (x *QueryRoomListRespData) GetPage() int32
func (*QueryRoomListRespData) GetPageSize ¶ added in v0.0.11
func (x *QueryRoomListRespData) GetPageSize() int32
func (*QueryRoomListRespData) GetTotal ¶ added in v0.0.11
func (x *QueryRoomListRespData) GetTotal() int64
func (*QueryRoomListRespData) ProtoMessage ¶ added in v0.0.11
func (*QueryRoomListRespData) ProtoMessage()
func (*QueryRoomListRespData) ProtoReflect ¶ added in v0.0.11
func (x *QueryRoomListRespData) ProtoReflect() protoreflect.Message
func (*QueryRoomListRespData) Reset ¶ added in v0.0.11
func (x *QueryRoomListRespData) Reset()
func (*QueryRoomListRespData) String ¶ added in v0.0.11
func (x *QueryRoomListRespData) String() string
type QueryRoomResp ¶ added in v0.0.11
type QueryRoomResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *ModelRoom `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*QueryRoomResp) Descriptor
deprecated
added in
v0.0.11
func (*QueryRoomResp) Descriptor() ([]byte, []int)
Deprecated: Use QueryRoomResp.ProtoReflect.Descriptor instead.
func (*QueryRoomResp) GetCode ¶ added in v0.0.11
func (x *QueryRoomResp) GetCode() int32
func (*QueryRoomResp) GetData ¶ added in v0.0.11
func (x *QueryRoomResp) GetData() *ModelRoom
func (*QueryRoomResp) GetMsg ¶ added in v0.0.11
func (x *QueryRoomResp) GetMsg() string
func (*QueryRoomResp) GetPath ¶ added in v0.0.11
func (x *QueryRoomResp) GetPath() string
func (*QueryRoomResp) GetRequestID ¶ added in v0.0.11
func (x *QueryRoomResp) GetRequestID() string
func (*QueryRoomResp) ProtoMessage ¶ added in v0.0.11
func (*QueryRoomResp) ProtoMessage()
func (*QueryRoomResp) ProtoReflect ¶ added in v0.0.11
func (x *QueryRoomResp) ProtoReflect() protoreflect.Message
func (*QueryRoomResp) Reset ¶ added in v0.0.11
func (x *QueryRoomResp) Reset()
func (*QueryRoomResp) String ¶ added in v0.0.11
func (x *QueryRoomResp) String() string
type Response ¶
type Response struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) GetRequestID ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type UnimplementedIotServiceServer ¶ added in v0.0.11
type UnimplementedIotServiceServer struct { }
UnimplementedIotServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedIotServiceServer) HomeCreate ¶ added in v0.0.11
func (UnimplementedIotServiceServer) HomeCreate(context.Context, *CreateHomeReq) (*Response, error)
func (UnimplementedIotServiceServer) HomeDelete ¶ added in v0.0.11
func (UnimplementedIotServiceServer) HomeDeleteIds ¶ added in v0.0.11
func (UnimplementedIotServiceServer) HomeDeleteIds(context.Context, *DeleteIdsReq) (*Response, error)
func (UnimplementedIotServiceServer) HomeQuery ¶ added in v0.0.11
func (UnimplementedIotServiceServer) HomeQuery(context.Context, *QueryReq) (*QueryHomeResp, error)
func (UnimplementedIotServiceServer) HomeQueryList ¶ added in v0.0.11
func (UnimplementedIotServiceServer) HomeQueryList(context.Context, *QueryHomeListReq) (*QueryHomeListResp, error)
func (UnimplementedIotServiceServer) HomeUpdate ¶ added in v0.0.11
func (UnimplementedIotServiceServer) HomeUpdate(context.Context, *UpdateHomeReq) (*Response, error)
func (UnimplementedIotServiceServer) HomeUpdateStatus ¶ added in v0.0.11
func (UnimplementedIotServiceServer) HomeUpdateStatus(context.Context, *UpdateStatusReq) (*Response, error)
func (UnimplementedIotServiceServer) MemberCreate ¶ added in v0.0.11
func (UnimplementedIotServiceServer) MemberCreate(context.Context, *CreateMemberReq) (*Response, error)
func (UnimplementedIotServiceServer) MemberDelete ¶ added in v0.0.11
func (UnimplementedIotServiceServer) MemberDeleteIds ¶ added in v0.0.11
func (UnimplementedIotServiceServer) MemberDeleteIds(context.Context, *DeleteIdsReq) (*Response, error)
func (UnimplementedIotServiceServer) MemberQuery ¶ added in v0.0.11
func (UnimplementedIotServiceServer) MemberQuery(context.Context, *QueryReq) (*QueryMemberResp, error)
func (UnimplementedIotServiceServer) MemberQueryList ¶ added in v0.0.11
func (UnimplementedIotServiceServer) MemberQueryList(context.Context, *QueryMemberListReq) (*QueryMemberListResp, error)
func (UnimplementedIotServiceServer) MemberUpdate ¶ added in v0.0.11
func (UnimplementedIotServiceServer) MemberUpdate(context.Context, *UpdateMemberReq) (*Response, error)
func (UnimplementedIotServiceServer) MemberUpdateStatus ¶ added in v0.0.11
func (UnimplementedIotServiceServer) MemberUpdateStatus(context.Context, *UpdateStatusReq) (*Response, error)
func (UnimplementedIotServiceServer) RoomCreate ¶ added in v0.0.11
func (UnimplementedIotServiceServer) RoomCreate(context.Context, *CreateRoomReq) (*Response, error)
func (UnimplementedIotServiceServer) RoomDelete ¶ added in v0.0.11
func (UnimplementedIotServiceServer) RoomDeleteIds ¶ added in v0.0.11
func (UnimplementedIotServiceServer) RoomDeleteIds(context.Context, *DeleteIdsReq) (*Response, error)
func (UnimplementedIotServiceServer) RoomQuery ¶ added in v0.0.11
func (UnimplementedIotServiceServer) RoomQuery(context.Context, *QueryReq) (*QueryRoomResp, error)
func (UnimplementedIotServiceServer) RoomQueryList ¶ added in v0.0.11
func (UnimplementedIotServiceServer) RoomQueryList(context.Context, *QueryRoomListReq) (*QueryRoomListResp, error)
func (UnimplementedIotServiceServer) RoomUpdate ¶ added in v0.0.11
func (UnimplementedIotServiceServer) RoomUpdate(context.Context, *UpdateRoomReq) (*Response, error)
func (UnimplementedIotServiceServer) RoomUpdateStatus ¶ added in v0.0.11
func (UnimplementedIotServiceServer) RoomUpdateStatus(context.Context, *UpdateStatusReq) (*Response, error)
type UnsafeIotServiceServer ¶ added in v0.0.11
type UnsafeIotServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIotServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IotServiceServer will result in compilation errors.
type UpdateHomeReq ¶
type UpdateHomeReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*UpdateHomeReq) Descriptor
deprecated
func (*UpdateHomeReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateHomeReq.ProtoReflect.Descriptor instead.
func (*UpdateHomeReq) GetId ¶
func (x *UpdateHomeReq) GetId() uint32
func (*UpdateHomeReq) GetName ¶
func (x *UpdateHomeReq) GetName() string
func (*UpdateHomeReq) ProtoMessage ¶
func (*UpdateHomeReq) ProtoMessage()
func (*UpdateHomeReq) ProtoReflect ¶
func (x *UpdateHomeReq) ProtoReflect() protoreflect.Message
func (*UpdateHomeReq) Reset ¶
func (x *UpdateHomeReq) Reset()
func (*UpdateHomeReq) String ¶
func (x *UpdateHomeReq) String() string
type UpdateMemberReq ¶ added in v0.0.11
type UpdateMemberReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` HomeId uint32 `protobuf:"varint,2,opt,name=homeId,proto3" json:"homeId,omitempty"` Role int32 `protobuf:"varint,3,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*UpdateMemberReq) Descriptor
deprecated
added in
v0.0.11
func (*UpdateMemberReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMemberReq.ProtoReflect.Descriptor instead.
func (*UpdateMemberReq) GetHomeId ¶ added in v0.0.11
func (x *UpdateMemberReq) GetHomeId() uint32
func (*UpdateMemberReq) GetId ¶ added in v0.0.11
func (x *UpdateMemberReq) GetId() uint32
func (*UpdateMemberReq) GetRole ¶ added in v0.0.11
func (x *UpdateMemberReq) GetRole() int32
func (*UpdateMemberReq) ProtoMessage ¶ added in v0.0.11
func (*UpdateMemberReq) ProtoMessage()
func (*UpdateMemberReq) ProtoReflect ¶ added in v0.0.11
func (x *UpdateMemberReq) ProtoReflect() protoreflect.Message
func (*UpdateMemberReq) Reset ¶ added in v0.0.11
func (x *UpdateMemberReq) Reset()
func (*UpdateMemberReq) String ¶ added in v0.0.11
func (x *UpdateMemberReq) String() string
type UpdateRoomReq ¶ added in v0.0.11
type UpdateRoomReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*UpdateRoomReq) Descriptor
deprecated
added in
v0.0.11
func (*UpdateRoomReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoomReq.ProtoReflect.Descriptor instead.
func (*UpdateRoomReq) GetId ¶ added in v0.0.11
func (x *UpdateRoomReq) GetId() uint32
func (*UpdateRoomReq) GetName ¶ added in v0.0.11
func (x *UpdateRoomReq) GetName() string
func (*UpdateRoomReq) ProtoMessage ¶ added in v0.0.11
func (*UpdateRoomReq) ProtoMessage()
func (*UpdateRoomReq) ProtoReflect ¶ added in v0.0.11
func (x *UpdateRoomReq) ProtoReflect() protoreflect.Message
func (*UpdateRoomReq) Reset ¶ added in v0.0.11
func (x *UpdateRoomReq) Reset()
func (*UpdateRoomReq) String ¶ added in v0.0.11
func (x *UpdateRoomReq) String() string
type UpdateStatusReq ¶ added in v0.0.11
type UpdateStatusReq struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Status int64 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*UpdateStatusReq) Descriptor
deprecated
added in
v0.0.11
func (*UpdateStatusReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateStatusReq.ProtoReflect.Descriptor instead.
func (*UpdateStatusReq) GetId ¶ added in v0.0.11
func (x *UpdateStatusReq) GetId() uint32
func (*UpdateStatusReq) GetStatus ¶ added in v0.0.11
func (x *UpdateStatusReq) GetStatus() int64
func (*UpdateStatusReq) ProtoMessage ¶ added in v0.0.11
func (*UpdateStatusReq) ProtoMessage()
func (*UpdateStatusReq) ProtoReflect ¶ added in v0.0.11
func (x *UpdateStatusReq) ProtoReflect() protoreflect.Message
func (*UpdateStatusReq) Reset ¶ added in v0.0.11
func (x *UpdateStatusReq) Reset()
func (*UpdateStatusReq) String ¶ added in v0.0.11
func (x *UpdateStatusReq) String() string