Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterNotifyRobotHTTPServer(s *http.Server, srv NotifyRobotHTTPServer)
- func RegisterNotifyRobotServer(s grpc.ServiceRegistrar, srv NotifyRobotServer)
- func RegisterSystemHTTPServer(s *http.Server, srv SystemHTTPServer)
- func RegisterSystemServer(s grpc.ServiceRegistrar, srv SystemServer)
- func RegisterSystemnotifyMessageHTTPServer(s *http.Server, srv SystemnotifyMessageHTTPServer)
- func RegisterSystemnotifyMessageServer(s grpc.ServiceRegistrar, srv SystemnotifyMessageServer)
- type CreatePluginsReply
- type CreatePluginsReq
- func (*CreatePluginsReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePluginsReq) GetPluginsIcon() string
- func (x *CreatePluginsReq) GetPluginsName() string
- func (x *CreatePluginsReq) GetPluginsURL() string
- func (*CreatePluginsReq) ProtoMessage()
- func (x *CreatePluginsReq) ProtoReflect() protoreflect.Message
- func (x *CreatePluginsReq) Reset()
- func (x *CreatePluginsReq) String() string
- type CreateRobotReq
- func (*CreateRobotReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRobotReq) GetDes() string
- func (x *CreateRobotReq) GetName() string
- func (x *CreateRobotReq) GetSession() []int64
- func (x *CreateRobotReq) GetType() int32
- func (*CreateRobotReq) ProtoMessage()
- func (x *CreateRobotReq) ProtoReflect() protoreflect.Message
- func (x *CreateRobotReq) Reset()
- func (x *CreateRobotReq) String() string
- type DeletePluginsReply
- type DeletePluginsReq
- type GetRobotInfoReq
- type GetRobotInfoResp
- func (*GetRobotInfoResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetRobotInfoResp) GetDes() string
- func (x *GetRobotInfoResp) GetId() int64
- func (x *GetRobotInfoResp) GetName() string
- func (x *GetRobotInfoResp) GetSessionInfo() []*SessionDoc
- func (x *GetRobotInfoResp) GetType() int32
- func (*GetRobotInfoResp) ProtoMessage()
- func (x *GetRobotInfoResp) ProtoReflect() protoreflect.Message
- func (x *GetRobotInfoResp) Reset()
- func (x *GetRobotInfoResp) String() string
- type GetRobotListResp
- func (*GetRobotListResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetRobotListResp) GetData() []*RobotDoc
- func (x *GetRobotListResp) GetTotal() int32
- func (*GetRobotListResp) ProtoMessage()
- func (x *GetRobotListResp) ProtoReflect() protoreflect.Message
- func (x *GetRobotListResp) Reset()
- func (x *GetRobotListResp) String() string
- type IdReq
- type IdsReq
- type ListLastSysMessageReply
- func (*ListLastSysMessageReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListLastSysMessageReply) GetLastMessage() map[int64]*SysMessageReply
- func (*ListLastSysMessageReply) ProtoMessage()
- func (x *ListLastSysMessageReply) ProtoReflect() protoreflect.Message
- func (x *ListLastSysMessageReply) Reset()
- func (x *ListLastSysMessageReply) String() string
- type ListLastSysMessageReq
- func (*ListLastSysMessageReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListLastSysMessageReq) GetSessionIDList() []int64
- func (*ListLastSysMessageReq) ProtoMessage()
- func (x *ListLastSysMessageReq) ProtoReflect() protoreflect.Message
- func (x *ListLastSysMessageReq) Reset()
- func (x *ListLastSysMessageReq) String() string
- type ListPluginsReply
- type ListPluginsReq
- func (*ListPluginsReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListPluginsReq) GetPage() int32
- func (x *ListPluginsReq) GetPageSize() int32
- func (x *ListPluginsReq) GetQuery() string
- func (*ListPluginsReq) ProtoMessage()
- func (x *ListPluginsReq) ProtoReflect() protoreflect.Message
- func (x *ListPluginsReq) Reset()
- func (x *ListPluginsReq) String() string
- type ListSysMessageReply
- func (*ListSysMessageReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListSysMessageReply) GetMessages() []*SysMessageReply
- func (*ListSysMessageReply) ProtoMessage()
- func (x *ListSysMessageReply) ProtoReflect() protoreflect.Message
- func (x *ListSysMessageReply) Reset()
- func (x *ListSysMessageReply) String() string
- type ListSysMessageReq
- func (*ListSysMessageReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListSysMessageReq) GetEndPos() int64
- func (x *ListSysMessageReq) GetSessionID() int64
- func (x *ListSysMessageReq) GetStartPos() int64
- func (*ListSysMessageReq) ProtoMessage()
- func (x *ListSysMessageReq) ProtoReflect() protoreflect.Message
- func (x *ListSysMessageReq) Reset()
- func (x *ListSysMessageReq) String() string
- type NotifyRobotClient
- type NotifyRobotHTTPClient
- type NotifyRobotHTTPClientImpl
- func (c *NotifyRobotHTTPClientImpl) CreateRobot(ctx context.Context, in *CreateRobotReq, opts ...http.CallOption) (*Result, error)
- func (c *NotifyRobotHTTPClientImpl) GetRobotInfo(ctx context.Context, in *GetRobotInfoReq, opts ...http.CallOption) (*GetRobotInfoResp, error)
- func (c *NotifyRobotHTTPClientImpl) GetRobotList(ctx context.Context, in *RobotListReq, opts ...http.CallOption) (*GetRobotListResp, error)
- func (c *NotifyRobotHTTPClientImpl) GrpcUserAPI(ctx context.Context, in *UserReq, opts ...http.CallOption) (*UserResp, error)
- func (c *NotifyRobotHTTPClientImpl) UpdateRobot(ctx context.Context, in *UpdateRobotReq, opts ...http.CallOption) (*Result, error)
- type NotifyRobotHTTPServer
- type NotifyRobotServer
- type PluginReply
- func (*PluginReply) Descriptor() ([]byte, []int)deprecated
- func (x *PluginReply) GetPluginID() int64
- func (x *PluginReply) GetPluginsIcon() string
- func (x *PluginReply) GetPluginsName() string
- func (x *PluginReply) GetPluginsURL() string
- func (*PluginReply) ProtoMessage()
- func (x *PluginReply) ProtoReflect() protoreflect.Message
- func (x *PluginReply) Reset()
- func (x *PluginReply) String() string
- type PutSystemConfigReply
- type PutSystemConfigReq
- func (*PutSystemConfigReq) Descriptor() ([]byte, []int)deprecated
- func (x *PutSystemConfigReq) GetWebrtcURL() string
- func (*PutSystemConfigReq) ProtoMessage()
- func (x *PutSystemConfigReq) ProtoReflect() protoreflect.Message
- func (x *PutSystemConfigReq) Reset()
- func (x *PutSystemConfigReq) String() string
- type Result
- type RobotDataDoc
- func (*RobotDataDoc) Descriptor() ([]byte, []int)deprecated
- func (x *RobotDataDoc) GetCreateAt() string
- func (x *RobotDataDoc) GetCreateBy() int64
- func (x *RobotDataDoc) GetExecuteCertificate() string
- func (x *RobotDataDoc) GetId() int64
- func (x *RobotDataDoc) GetIdentityName() string
- func (x *RobotDataDoc) GetIdentityNo() string
- func (x *RobotDataDoc) GetRobotId() int64
- func (*RobotDataDoc) ProtoMessage()
- func (x *RobotDataDoc) ProtoReflect() protoreflect.Message
- func (x *RobotDataDoc) Reset()
- func (x *RobotDataDoc) String() string
- type RobotDoc
- func (*RobotDoc) Descriptor() ([]byte, []int)deprecated
- func (x *RobotDoc) GetDes() string
- func (x *RobotDoc) GetId() int64
- func (x *RobotDoc) GetName() string
- func (x *RobotDoc) GetSessionInfo() []*SessionDoc
- func (x *RobotDoc) GetType() int32
- func (*RobotDoc) ProtoMessage()
- func (x *RobotDoc) ProtoReflect() protoreflect.Message
- func (x *RobotDoc) Reset()
- func (x *RobotDoc) String() string
- type RobotListReq
- func (*RobotListReq) Descriptor() ([]byte, []int)deprecated
- func (x *RobotListReq) GetName() string
- func (x *RobotListReq) GetPage() int32
- func (x *RobotListReq) GetPageSize() int32
- func (*RobotListReq) ProtoMessage()
- func (x *RobotListReq) ProtoReflect() protoreflect.Message
- func (x *RobotListReq) Reset()
- func (x *RobotListReq) String() string
- type SessionDoc
- func (*SessionDoc) Descriptor() ([]byte, []int)deprecated
- func (x *SessionDoc) GetEndTime() int32
- func (x *SessionDoc) GetLastMessageTime() string
- func (x *SessionDoc) GetMessageID() string
- func (x *SessionDoc) GetSessionID() int64
- func (x *SessionDoc) GetSessionName() string
- func (x *SessionDoc) GetType() int32
- func (x *SessionDoc) GetUserIDList() []int64
- func (*SessionDoc) ProtoMessage()
- func (x *SessionDoc) ProtoReflect() protoreflect.Message
- func (x *SessionDoc) Reset()
- func (x *SessionDoc) String() string
- type SysActionCard
- func (*SysActionCard) Descriptor() ([]byte, []int)deprecated
- func (x *SysActionCard) GetBtns() []*SysActionCardBtn
- func (x *SysActionCard) GetOrientation() int32
- func (x *SysActionCard) GetText() string
- func (x *SysActionCard) GetTitle() string
- func (*SysActionCard) ProtoMessage()
- func (x *SysActionCard) ProtoReflect() protoreflect.Message
- func (x *SysActionCard) Reset()
- func (x *SysActionCard) String() string
- type SysActionCardBtn
- func (*SysActionCardBtn) Descriptor() ([]byte, []int)deprecated
- func (x *SysActionCardBtn) GetActionURL() string
- func (x *SysActionCardBtn) GetTitle() string
- func (*SysActionCardBtn) ProtoMessage()
- func (x *SysActionCardBtn) ProtoReflect() protoreflect.Message
- func (x *SysActionCardBtn) Reset()
- func (x *SysActionCardBtn) String() string
- type SysMessageReply
- func (*SysMessageReply) Descriptor() ([]byte, []int)deprecated
- func (x *SysMessageReply) GetAudioData() []byte
- func (x *SysMessageReply) GetCard() *SysActionCard
- func (x *SysMessageReply) GetContent() string
- func (x *SysMessageReply) GetContentType() int32
- func (x *SysMessageReply) GetFrom() int64
- func (x *SysMessageReply) GetIsReadUserList() []*UserDoc
- func (x *SysMessageReply) GetMessageDate() string
- func (x *SysMessageReply) GetMessageID() int64
- func (x *SysMessageReply) GetTo() int64
- func (x *SysMessageReply) GetUrl() string
- func (*SysMessageReply) ProtoMessage()
- func (x *SysMessageReply) ProtoReflect() protoreflect.Message
- func (x *SysMessageReply) Reset()
- func (x *SysMessageReply) String() string
- type SysMessageReq
- func (*SysMessageReq) Descriptor() ([]byte, []int)deprecated
- func (x *SysMessageReq) GetAudioData() string
- func (x *SysMessageReq) GetCard() *SysActionCard
- func (x *SysMessageReq) GetContent() string
- func (x *SysMessageReq) GetContentType() int32
- func (x *SysMessageReq) GetFrom() int64
- func (x *SysMessageReq) GetTo() int64
- func (x *SysMessageReq) GetUrl() string
- func (*SysMessageReq) ProtoMessage()
- func (x *SysMessageReq) ProtoReflect() protoreflect.Message
- func (x *SysMessageReq) Reset()
- func (x *SysMessageReq) String() string
- type SystemClient
- type SystemHTTPClient
- type SystemHTTPClientImpl
- func (c *SystemHTTPClientImpl) CreatePlugin(ctx context.Context, in *CreatePluginsReq, opts ...http.CallOption) (*CreatePluginsReply, error)
- func (c *SystemHTTPClientImpl) DeletePlugin(ctx context.Context, in *DeletePluginsReq, opts ...http.CallOption) (*DeletePluginsReply, error)
- func (c *SystemHTTPClientImpl) ListPlugin(ctx context.Context, in *ListPluginsReq, opts ...http.CallOption) (*CreatePluginsReply, error)
- func (c *SystemHTTPClientImpl) PutPlugin(ctx context.Context, in *PluginReply, opts ...http.CallOption) (*PluginReply, error)
- func (c *SystemHTTPClientImpl) PutSystemConfig(ctx context.Context, in *PutSystemConfigReq, opts ...http.CallOption) (*PutSystemConfigReply, error)
- type SystemHTTPServer
- type SystemServer
- type SystemnotifyMessageClient
- type SystemnotifyMessageHTTPClient
- type SystemnotifyMessageHTTPClientImpl
- func (c *SystemnotifyMessageHTTPClientImpl) CreateSysMessage(ctx context.Context, in *SysMessageReq, opts ...http.CallOption) (*SysMessageReply, error)
- func (c *SystemnotifyMessageHTTPClientImpl) ListLastSysMessages(ctx context.Context, in *ListLastSysMessageReq, opts ...http.CallOption) (*ListLastSysMessageReply, error)
- func (c *SystemnotifyMessageHTTPClientImpl) ListSysMessage(ctx context.Context, in *ListSysMessageReq, opts ...http.CallOption) (*ListSysMessageReply, error)
- func (c *SystemnotifyMessageHTTPClientImpl) UpdateSysMessages(ctx context.Context, in *UpdateSysMessageReq, opts ...http.CallOption) (*UpdateSysMessageReply, error)
- type SystemnotifyMessageHTTPServer
- type SystemnotifyMessageServer
- type UnimplementedNotifyRobotServer
- func (UnimplementedNotifyRobotServer) CreateRobot(context.Context, *CreateRobotReq) (*Result, error)
- func (UnimplementedNotifyRobotServer) GetRobotInfo(context.Context, *GetRobotInfoReq) (*GetRobotInfoResp, error)
- func (UnimplementedNotifyRobotServer) GetRobotList(context.Context, *RobotListReq) (*GetRobotListResp, error)
- func (UnimplementedNotifyRobotServer) GrpcUserAPI(context.Context, *UserReq) (*UserResp, error)
- func (UnimplementedNotifyRobotServer) UpdateRobot(context.Context, *UpdateRobotReq) (*Result, error)
- type UnimplementedSystemServer
- func (UnimplementedSystemServer) CreatePlugin(context.Context, *CreatePluginsReq) (*CreatePluginsReply, error)
- func (UnimplementedSystemServer) DeletePlugin(context.Context, *DeletePluginsReq) (*DeletePluginsReply, error)
- func (UnimplementedSystemServer) ListPlugin(context.Context, *ListPluginsReq) (*CreatePluginsReply, error)
- func (UnimplementedSystemServer) PutPlugin(context.Context, *PluginReply) (*PluginReply, error)
- func (UnimplementedSystemServer) PutSystemConfig(context.Context, *PutSystemConfigReq) (*PutSystemConfigReply, error)
- type UnimplementedSystemnotifyMessageServer
- func (UnimplementedSystemnotifyMessageServer) CreateSysMessage(context.Context, *SysMessageReq) (*SysMessageReply, error)
- func (UnimplementedSystemnotifyMessageServer) ListLastSysMessages(context.Context, *ListLastSysMessageReq) (*ListLastSysMessageReply, error)
- func (UnimplementedSystemnotifyMessageServer) ListSysMessage(context.Context, *ListSysMessageReq) (*ListSysMessageReply, error)
- func (UnimplementedSystemnotifyMessageServer) UpdateSysMessages(context.Context, *UpdateSysMessageReq) (*UpdateSysMessageReply, error)
- type UnsafeNotifyRobotServer
- type UnsafeSystemServer
- type UnsafeSystemnotifyMessageServer
- type UpdateRobotReq
- func (*UpdateRobotReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRobotReq) GetDes() string
- func (x *UpdateRobotReq) GetId() int64
- func (x *UpdateRobotReq) GetName() string
- func (x *UpdateRobotReq) GetSession() []int64
- func (x *UpdateRobotReq) GetType() int32
- func (*UpdateRobotReq) ProtoMessage()
- func (x *UpdateRobotReq) ProtoReflect() protoreflect.Message
- func (x *UpdateRobotReq) Reset()
- func (x *UpdateRobotReq) String() string
- type UpdateSysMessageReply
- func (*UpdateSysMessageReply) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSysMessageReply) GetIsReadUserIds() []int64
- func (*UpdateSysMessageReply) ProtoMessage()
- func (x *UpdateSysMessageReply) ProtoReflect() protoreflect.Message
- func (x *UpdateSysMessageReply) Reset()
- func (x *UpdateSysMessageReply) String() string
- type UpdateSysMessageReq
- func (*UpdateSysMessageReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSysMessageReq) GetAudioData() string
- func (x *UpdateSysMessageReq) GetCard() *SysActionCard
- func (x *UpdateSysMessageReq) GetContent() string
- func (x *UpdateSysMessageReq) GetContentType() int32
- func (x *UpdateSysMessageReq) GetFrom() int64
- func (x *UpdateSysMessageReq) GetId() int64
- func (x *UpdateSysMessageReq) GetIsReadUserIds() []int64
- func (x *UpdateSysMessageReq) GetTo() int64
- func (x *UpdateSysMessageReq) GetUrl() string
- func (*UpdateSysMessageReq) ProtoMessage()
- func (x *UpdateSysMessageReq) ProtoReflect() protoreflect.Message
- func (x *UpdateSysMessageReq) Reset()
- func (x *UpdateSysMessageReq) String() string
- type UserDoc
- type UserReq
- type UserResp
- func (*UserResp) Descriptor() ([]byte, []int)deprecated
- func (x *UserResp) GetAvatar() string
- func (x *UserResp) GetId() int64
- func (x *UserResp) GetName() string
- func (x *UserResp) GetPhone() string
- func (*UserResp) ProtoMessage()
- func (x *UserResp) ProtoReflect() protoreflect.Message
- func (x *UserResp) Reset()
- func (x *UserResp) String() string
Constants ¶
const OperationNotifyRobotCreateRobot = "/system.NotifyRobot/CreateRobot"
const OperationNotifyRobotGetRobotInfo = "/system.NotifyRobot/GetRobotInfo"
const OperationNotifyRobotGetRobotList = "/system.NotifyRobot/GetRobotList"
const OperationNotifyRobotGrpcUserAPI = "/system.NotifyRobot/GrpcUserAPI"
const OperationNotifyRobotUpdateRobot = "/system.NotifyRobot/UpdateRobot"
const OperationSystemCreatePlugin = "/system.System/CreatePlugin"
const OperationSystemDeletePlugin = "/system.System/DeletePlugin"
const OperationSystemListPlugin = "/system.System/ListPlugin"
const OperationSystemPutPlugin = "/system.System/PutPlugin"
const OperationSystemPutSystemConfig = "/system.System/PutSystemConfig"
const OperationSystemnotifyMessageCreateSysMessage = "/system.SystemnotifyMessage/CreateSysMessage"
const OperationSystemnotifyMessageListLastSysMessages = "/system.SystemnotifyMessage/ListLastSysMessages"
const OperationSystemnotifyMessageListSysMessage = "/system.SystemnotifyMessage/ListSysMessage"
const OperationSystemnotifyMessageUpdateSysMessages = "/system.SystemnotifyMessage/UpdateSysMessages"
Variables ¶
var File_api_system_config_proto protoreflect.FileDescriptor
var File_api_system_notifyRobot_proto protoreflect.FileDescriptor
var File_api_system_systemnotifyMessage_proto protoreflect.FileDescriptor
var NotifyRobot_ServiceDesc = grpc.ServiceDesc{ ServiceName: "system.NotifyRobot", HandlerType: (*NotifyRobotServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateRobot", Handler: _NotifyRobot_CreateRobot_Handler, }, { MethodName: "UpdateRobot", Handler: _NotifyRobot_UpdateRobot_Handler, }, { MethodName: "GetRobotInfo", Handler: _NotifyRobot_GetRobotInfo_Handler, }, { MethodName: "GetRobotList", Handler: _NotifyRobot_GetRobotList_Handler, }, { MethodName: "GrpcUserAPI", Handler: _NotifyRobot_GrpcUserAPI_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/system/notifyRobot.proto", }
NotifyRobot_ServiceDesc is the grpc.ServiceDesc for NotifyRobot service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var System_ServiceDesc = grpc.ServiceDesc{ ServiceName: "system.System", HandlerType: (*SystemServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PutSystemConfig", Handler: _System_PutSystemConfig_Handler, }, { MethodName: "CreatePlugin", Handler: _System_CreatePlugin_Handler, }, { MethodName: "ListPlugin", Handler: _System_ListPlugin_Handler, }, { MethodName: "DeletePlugin", Handler: _System_DeletePlugin_Handler, }, { MethodName: "PutPlugin", Handler: _System_PutPlugin_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/system/config.proto", }
System_ServiceDesc is the grpc.ServiceDesc for System service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SystemnotifyMessage_ServiceDesc = grpc.ServiceDesc{ ServiceName: "system.SystemnotifyMessage", HandlerType: (*SystemnotifyMessageServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateSysMessage", Handler: _SystemnotifyMessage_CreateSysMessage_Handler, }, { MethodName: "ListSysMessage", Handler: _SystemnotifyMessage_ListSysMessage_Handler, }, { MethodName: "ListLastSysMessages", Handler: _SystemnotifyMessage_ListLastSysMessages_Handler, }, { MethodName: "UpdateSysMessages", Handler: _SystemnotifyMessage_UpdateSysMessages_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/system/systemnotifyMessage.proto", }
SystemnotifyMessage_ServiceDesc is the grpc.ServiceDesc for SystemnotifyMessage service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterNotifyRobotHTTPServer ¶
func RegisterNotifyRobotHTTPServer(s *http.Server, srv NotifyRobotHTTPServer)
func RegisterNotifyRobotServer ¶
func RegisterNotifyRobotServer(s grpc.ServiceRegistrar, srv NotifyRobotServer)
func RegisterSystemHTTPServer ¶
func RegisterSystemHTTPServer(s *http.Server, srv SystemHTTPServer)
func RegisterSystemServer ¶
func RegisterSystemServer(s grpc.ServiceRegistrar, srv SystemServer)
func RegisterSystemnotifyMessageHTTPServer ¶
func RegisterSystemnotifyMessageHTTPServer(s *http.Server, srv SystemnotifyMessageHTTPServer)
func RegisterSystemnotifyMessageServer ¶
func RegisterSystemnotifyMessageServer(s grpc.ServiceRegistrar, srv SystemnotifyMessageServer)
Types ¶
type CreatePluginsReply ¶
type CreatePluginsReply struct {
// contains filtered or unexported fields
}
func (*CreatePluginsReply) Descriptor
deprecated
func (*CreatePluginsReply) Descriptor() ([]byte, []int)
Deprecated: Use CreatePluginsReply.ProtoReflect.Descriptor instead.
func (*CreatePluginsReply) ProtoMessage ¶
func (*CreatePluginsReply) ProtoMessage()
func (*CreatePluginsReply) ProtoReflect ¶
func (x *CreatePluginsReply) ProtoReflect() protoreflect.Message
func (*CreatePluginsReply) Reset ¶
func (x *CreatePluginsReply) Reset()
func (*CreatePluginsReply) String ¶
func (x *CreatePluginsReply) String() string
type CreatePluginsReq ¶
type CreatePluginsReq struct { PluginsName string `protobuf:"bytes,1,opt,name=pluginsName,proto3" json:"pluginsName,omitempty"` PluginsIcon string `protobuf:"bytes,2,opt,name=pluginsIcon,proto3" json:"pluginsIcon,omitempty"` PluginsURL string `protobuf:"bytes,3,opt,name=pluginsURL,proto3" json:"pluginsURL,omitempty"` // contains filtered or unexported fields }
func (*CreatePluginsReq) Descriptor
deprecated
func (*CreatePluginsReq) Descriptor() ([]byte, []int)
Deprecated: Use CreatePluginsReq.ProtoReflect.Descriptor instead.
func (*CreatePluginsReq) GetPluginsIcon ¶
func (x *CreatePluginsReq) GetPluginsIcon() string
func (*CreatePluginsReq) GetPluginsName ¶
func (x *CreatePluginsReq) GetPluginsName() string
func (*CreatePluginsReq) GetPluginsURL ¶
func (x *CreatePluginsReq) GetPluginsURL() string
func (*CreatePluginsReq) ProtoMessage ¶
func (*CreatePluginsReq) ProtoMessage()
func (*CreatePluginsReq) ProtoReflect ¶
func (x *CreatePluginsReq) ProtoReflect() protoreflect.Message
func (*CreatePluginsReq) Reset ¶
func (x *CreatePluginsReq) Reset()
func (*CreatePluginsReq) String ¶
func (x *CreatePluginsReq) String() string
type CreateRobotReq ¶
type CreateRobotReq struct { Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Des string `protobuf:"bytes,8,opt,name=des,proto3" json:"des,omitempty"` Session []int64 `protobuf:"varint,9,rep,packed,name=session,proto3" json:"session,omitempty"` Type int32 `protobuf:"varint,10,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*CreateRobotReq) Descriptor
deprecated
func (*CreateRobotReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateRobotReq.ProtoReflect.Descriptor instead.
func (*CreateRobotReq) GetDes ¶
func (x *CreateRobotReq) GetDes() string
func (*CreateRobotReq) GetName ¶
func (x *CreateRobotReq) GetName() string
func (*CreateRobotReq) GetSession ¶
func (x *CreateRobotReq) GetSession() []int64
func (*CreateRobotReq) GetType ¶
func (x *CreateRobotReq) GetType() int32
func (*CreateRobotReq) ProtoMessage ¶
func (*CreateRobotReq) ProtoMessage()
func (*CreateRobotReq) ProtoReflect ¶
func (x *CreateRobotReq) ProtoReflect() protoreflect.Message
func (*CreateRobotReq) Reset ¶
func (x *CreateRobotReq) Reset()
func (*CreateRobotReq) String ¶
func (x *CreateRobotReq) String() string
type DeletePluginsReply ¶
type DeletePluginsReply struct {
// contains filtered or unexported fields
}
func (*DeletePluginsReply) Descriptor
deprecated
func (*DeletePluginsReply) Descriptor() ([]byte, []int)
Deprecated: Use DeletePluginsReply.ProtoReflect.Descriptor instead.
func (*DeletePluginsReply) ProtoMessage ¶
func (*DeletePluginsReply) ProtoMessage()
func (*DeletePluginsReply) ProtoReflect ¶
func (x *DeletePluginsReply) ProtoReflect() protoreflect.Message
func (*DeletePluginsReply) Reset ¶
func (x *DeletePluginsReply) Reset()
func (*DeletePluginsReply) String ¶
func (x *DeletePluginsReply) String() string
type DeletePluginsReq ¶
type DeletePluginsReq struct { PluginIDList []int64 `protobuf:"varint,1,rep,packed,name=pluginIDList,proto3" json:"pluginIDList,omitempty"` // contains filtered or unexported fields }
func (*DeletePluginsReq) Descriptor
deprecated
func (*DeletePluginsReq) Descriptor() ([]byte, []int)
Deprecated: Use DeletePluginsReq.ProtoReflect.Descriptor instead.
func (*DeletePluginsReq) GetPluginIDList ¶
func (x *DeletePluginsReq) GetPluginIDList() []int64
func (*DeletePluginsReq) ProtoMessage ¶
func (*DeletePluginsReq) ProtoMessage()
func (*DeletePluginsReq) ProtoReflect ¶
func (x *DeletePluginsReq) ProtoReflect() protoreflect.Message
func (*DeletePluginsReq) Reset ¶
func (x *DeletePluginsReq) Reset()
func (*DeletePluginsReq) String ¶
func (x *DeletePluginsReq) String() string
type GetRobotInfoReq ¶
type GetRobotInfoReq struct { RId int64 `protobuf:"varint,4,opt,name=rId,proto3" json:"rId,omitempty"` // contains filtered or unexported fields }
func (*GetRobotInfoReq) Descriptor
deprecated
func (*GetRobotInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use GetRobotInfoReq.ProtoReflect.Descriptor instead.
func (*GetRobotInfoReq) GetRId ¶
func (x *GetRobotInfoReq) GetRId() int64
func (*GetRobotInfoReq) ProtoMessage ¶
func (*GetRobotInfoReq) ProtoMessage()
func (*GetRobotInfoReq) ProtoReflect ¶
func (x *GetRobotInfoReq) ProtoReflect() protoreflect.Message
func (*GetRobotInfoReq) Reset ¶
func (x *GetRobotInfoReq) Reset()
func (*GetRobotInfoReq) String ¶
func (x *GetRobotInfoReq) String() string
type GetRobotInfoResp ¶
type GetRobotInfoResp struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Des string `protobuf:"bytes,8,opt,name=des,proto3" json:"des,omitempty"` SessionInfo []*SessionDoc `protobuf:"bytes,9,rep,name=sessionInfo,proto3" json:"sessionInfo,omitempty"` Type int32 `protobuf:"varint,10,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*GetRobotInfoResp) Descriptor
deprecated
func (*GetRobotInfoResp) Descriptor() ([]byte, []int)
Deprecated: Use GetRobotInfoResp.ProtoReflect.Descriptor instead.
func (*GetRobotInfoResp) GetDes ¶
func (x *GetRobotInfoResp) GetDes() string
func (*GetRobotInfoResp) GetId ¶
func (x *GetRobotInfoResp) GetId() int64
func (*GetRobotInfoResp) GetName ¶
func (x *GetRobotInfoResp) GetName() string
func (*GetRobotInfoResp) GetSessionInfo ¶
func (x *GetRobotInfoResp) GetSessionInfo() []*SessionDoc
func (*GetRobotInfoResp) GetType ¶
func (x *GetRobotInfoResp) GetType() int32
func (*GetRobotInfoResp) ProtoMessage ¶
func (*GetRobotInfoResp) ProtoMessage()
func (*GetRobotInfoResp) ProtoReflect ¶
func (x *GetRobotInfoResp) ProtoReflect() protoreflect.Message
func (*GetRobotInfoResp) Reset ¶
func (x *GetRobotInfoResp) Reset()
func (*GetRobotInfoResp) String ¶
func (x *GetRobotInfoResp) String() string
type GetRobotListResp ¶
type GetRobotListResp struct { Data []*RobotDoc `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*GetRobotListResp) Descriptor
deprecated
func (*GetRobotListResp) Descriptor() ([]byte, []int)
Deprecated: Use GetRobotListResp.ProtoReflect.Descriptor instead.
func (*GetRobotListResp) GetData ¶
func (x *GetRobotListResp) GetData() []*RobotDoc
func (*GetRobotListResp) GetTotal ¶
func (x *GetRobotListResp) GetTotal() int32
func (*GetRobotListResp) ProtoMessage ¶
func (*GetRobotListResp) ProtoMessage()
func (*GetRobotListResp) ProtoReflect ¶
func (x *GetRobotListResp) ProtoReflect() protoreflect.Message
func (*GetRobotListResp) Reset ¶
func (x *GetRobotListResp) Reset()
func (*GetRobotListResp) String ¶
func (x *GetRobotListResp) String() string
type IdReq ¶
type IdReq struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*IdReq) Descriptor
deprecated
func (*IdReq) ProtoMessage ¶
func (*IdReq) ProtoMessage()
func (*IdReq) ProtoReflect ¶
func (x *IdReq) ProtoReflect() protoreflect.Message
type IdsReq ¶
type IdsReq struct { Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*IdsReq) Descriptor
deprecated
func (*IdsReq) ProtoMessage ¶
func (*IdsReq) ProtoMessage()
func (*IdsReq) ProtoReflect ¶
func (x *IdsReq) ProtoReflect() protoreflect.Message
type ListLastSysMessageReply ¶
type ListLastSysMessageReply struct { LastMessage map[int64]*SysMessageReply `` /* 164-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListLastSysMessageReply) Descriptor
deprecated
func (*ListLastSysMessageReply) Descriptor() ([]byte, []int)
Deprecated: Use ListLastSysMessageReply.ProtoReflect.Descriptor instead.
func (*ListLastSysMessageReply) GetLastMessage ¶
func (x *ListLastSysMessageReply) GetLastMessage() map[int64]*SysMessageReply
func (*ListLastSysMessageReply) ProtoMessage ¶
func (*ListLastSysMessageReply) ProtoMessage()
func (*ListLastSysMessageReply) ProtoReflect ¶
func (x *ListLastSysMessageReply) ProtoReflect() protoreflect.Message
func (*ListLastSysMessageReply) Reset ¶
func (x *ListLastSysMessageReply) Reset()
func (*ListLastSysMessageReply) String ¶
func (x *ListLastSysMessageReply) String() string
type ListLastSysMessageReq ¶
type ListLastSysMessageReq struct { SessionIDList []int64 `protobuf:"varint,1,rep,packed,name=sessionIDList,proto3" json:"sessionIDList,omitempty"` // contains filtered or unexported fields }
func (*ListLastSysMessageReq) Descriptor
deprecated
func (*ListLastSysMessageReq) Descriptor() ([]byte, []int)
Deprecated: Use ListLastSysMessageReq.ProtoReflect.Descriptor instead.
func (*ListLastSysMessageReq) GetSessionIDList ¶
func (x *ListLastSysMessageReq) GetSessionIDList() []int64
func (*ListLastSysMessageReq) ProtoMessage ¶
func (*ListLastSysMessageReq) ProtoMessage()
func (*ListLastSysMessageReq) ProtoReflect ¶
func (x *ListLastSysMessageReq) ProtoReflect() protoreflect.Message
func (*ListLastSysMessageReq) Reset ¶
func (x *ListLastSysMessageReq) Reset()
func (*ListLastSysMessageReq) String ¶
func (x *ListLastSysMessageReq) String() string
type ListPluginsReply ¶
type ListPluginsReply struct { Plugins []*PluginReply `protobuf:"bytes,1,rep,name=plugins,proto3" json:"plugins,omitempty"` // contains filtered or unexported fields }
func (*ListPluginsReply) Descriptor
deprecated
func (*ListPluginsReply) Descriptor() ([]byte, []int)
Deprecated: Use ListPluginsReply.ProtoReflect.Descriptor instead.
func (*ListPluginsReply) GetPlugins ¶
func (x *ListPluginsReply) GetPlugins() []*PluginReply
func (*ListPluginsReply) ProtoMessage ¶
func (*ListPluginsReply) ProtoMessage()
func (*ListPluginsReply) ProtoReflect ¶
func (x *ListPluginsReply) ProtoReflect() protoreflect.Message
func (*ListPluginsReply) Reset ¶
func (x *ListPluginsReply) Reset()
func (*ListPluginsReply) String ¶
func (x *ListPluginsReply) String() string
type ListPluginsReq ¶
type ListPluginsReq 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"` Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
func (*ListPluginsReq) Descriptor
deprecated
func (*ListPluginsReq) Descriptor() ([]byte, []int)
Deprecated: Use ListPluginsReq.ProtoReflect.Descriptor instead.
func (*ListPluginsReq) GetPage ¶
func (x *ListPluginsReq) GetPage() int32
func (*ListPluginsReq) GetPageSize ¶
func (x *ListPluginsReq) GetPageSize() int32
func (*ListPluginsReq) GetQuery ¶
func (x *ListPluginsReq) GetQuery() string
func (*ListPluginsReq) ProtoMessage ¶
func (*ListPluginsReq) ProtoMessage()
func (*ListPluginsReq) ProtoReflect ¶
func (x *ListPluginsReq) ProtoReflect() protoreflect.Message
func (*ListPluginsReq) Reset ¶
func (x *ListPluginsReq) Reset()
func (*ListPluginsReq) String ¶
func (x *ListPluginsReq) String() string
type ListSysMessageReply ¶
type ListSysMessageReply struct { Messages []*SysMessageReply `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*ListSysMessageReply) Descriptor
deprecated
func (*ListSysMessageReply) Descriptor() ([]byte, []int)
Deprecated: Use ListSysMessageReply.ProtoReflect.Descriptor instead.
func (*ListSysMessageReply) GetMessages ¶
func (x *ListSysMessageReply) GetMessages() []*SysMessageReply
func (*ListSysMessageReply) ProtoMessage ¶
func (*ListSysMessageReply) ProtoMessage()
func (*ListSysMessageReply) ProtoReflect ¶
func (x *ListSysMessageReply) ProtoReflect() protoreflect.Message
func (*ListSysMessageReply) Reset ¶
func (x *ListSysMessageReply) Reset()
func (*ListSysMessageReply) String ¶
func (x *ListSysMessageReply) String() string
type ListSysMessageReq ¶
type ListSysMessageReq struct { SessionID int64 `protobuf:"varint,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"` StartPos int64 `protobuf:"varint,2,opt,name=startPos,proto3" json:"startPos,omitempty"` EndPos int64 `protobuf:"varint,3,opt,name=endPos,proto3" json:"endPos,omitempty"` // contains filtered or unexported fields }
func (*ListSysMessageReq) Descriptor
deprecated
func (*ListSysMessageReq) Descriptor() ([]byte, []int)
Deprecated: Use ListSysMessageReq.ProtoReflect.Descriptor instead.
func (*ListSysMessageReq) GetEndPos ¶
func (x *ListSysMessageReq) GetEndPos() int64
func (*ListSysMessageReq) GetSessionID ¶
func (x *ListSysMessageReq) GetSessionID() int64
func (*ListSysMessageReq) GetStartPos ¶
func (x *ListSysMessageReq) GetStartPos() int64
func (*ListSysMessageReq) ProtoMessage ¶
func (*ListSysMessageReq) ProtoMessage()
func (*ListSysMessageReq) ProtoReflect ¶
func (x *ListSysMessageReq) ProtoReflect() protoreflect.Message
func (*ListSysMessageReq) Reset ¶
func (x *ListSysMessageReq) Reset()
func (*ListSysMessageReq) String ¶
func (x *ListSysMessageReq) String() string
type NotifyRobotClient ¶
type NotifyRobotClient interface { CreateRobot(ctx context.Context, in *CreateRobotReq, opts ...grpc.CallOption) (*Result, error) UpdateRobot(ctx context.Context, in *UpdateRobotReq, opts ...grpc.CallOption) (*Result, error) GetRobotInfo(ctx context.Context, in *GetRobotInfoReq, opts ...grpc.CallOption) (*GetRobotInfoResp, error) GetRobotList(ctx context.Context, in *RobotListReq, opts ...grpc.CallOption) (*GetRobotListResp, error) GrpcUserAPI(ctx context.Context, in *UserReq, opts ...grpc.CallOption) (*UserResp, error) }
NotifyRobotClient is the client API for NotifyRobot 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 NewNotifyRobotClient ¶
func NewNotifyRobotClient(cc grpc.ClientConnInterface) NotifyRobotClient
type NotifyRobotHTTPClient ¶
type NotifyRobotHTTPClient interface { CreateRobot(ctx context.Context, req *CreateRobotReq, opts ...http.CallOption) (rsp *Result, err error) GetRobotInfo(ctx context.Context, req *GetRobotInfoReq, opts ...http.CallOption) (rsp *GetRobotInfoResp, err error) GetRobotList(ctx context.Context, req *RobotListReq, opts ...http.CallOption) (rsp *GetRobotListResp, err error) GrpcUserAPI(ctx context.Context, req *UserReq, opts ...http.CallOption) (rsp *UserResp, err error) UpdateRobot(ctx context.Context, req *UpdateRobotReq, opts ...http.CallOption) (rsp *Result, err error) }
func NewNotifyRobotHTTPClient ¶
func NewNotifyRobotHTTPClient(client *http.Client) NotifyRobotHTTPClient
type NotifyRobotHTTPClientImpl ¶
type NotifyRobotHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*NotifyRobotHTTPClientImpl) CreateRobot ¶
func (c *NotifyRobotHTTPClientImpl) CreateRobot(ctx context.Context, in *CreateRobotReq, opts ...http.CallOption) (*Result, error)
func (*NotifyRobotHTTPClientImpl) GetRobotInfo ¶
func (c *NotifyRobotHTTPClientImpl) GetRobotInfo(ctx context.Context, in *GetRobotInfoReq, opts ...http.CallOption) (*GetRobotInfoResp, error)
func (*NotifyRobotHTTPClientImpl) GetRobotList ¶
func (c *NotifyRobotHTTPClientImpl) GetRobotList(ctx context.Context, in *RobotListReq, opts ...http.CallOption) (*GetRobotListResp, error)
func (*NotifyRobotHTTPClientImpl) GrpcUserAPI ¶
func (c *NotifyRobotHTTPClientImpl) GrpcUserAPI(ctx context.Context, in *UserReq, opts ...http.CallOption) (*UserResp, error)
func (*NotifyRobotHTTPClientImpl) UpdateRobot ¶
func (c *NotifyRobotHTTPClientImpl) UpdateRobot(ctx context.Context, in *UpdateRobotReq, opts ...http.CallOption) (*Result, error)
type NotifyRobotHTTPServer ¶
type NotifyRobotHTTPServer interface { CreateRobot(context.Context, *CreateRobotReq) (*Result, error) GetRobotInfo(context.Context, *GetRobotInfoReq) (*GetRobotInfoResp, error) GetRobotList(context.Context, *RobotListReq) (*GetRobotListResp, error) GrpcUserAPI(context.Context, *UserReq) (*UserResp, error) UpdateRobot(context.Context, *UpdateRobotReq) (*Result, error) }
type NotifyRobotServer ¶
type NotifyRobotServer interface { CreateRobot(context.Context, *CreateRobotReq) (*Result, error) UpdateRobot(context.Context, *UpdateRobotReq) (*Result, error) GetRobotInfo(context.Context, *GetRobotInfoReq) (*GetRobotInfoResp, error) GetRobotList(context.Context, *RobotListReq) (*GetRobotListResp, error) GrpcUserAPI(context.Context, *UserReq) (*UserResp, error) // contains filtered or unexported methods }
NotifyRobotServer is the server API for NotifyRobot service. All implementations must embed UnimplementedNotifyRobotServer for forward compatibility
type PluginReply ¶
type PluginReply struct { PluginsName string `protobuf:"bytes,1,opt,name=pluginsName,proto3" json:"pluginsName,omitempty"` PluginsIcon string `protobuf:"bytes,2,opt,name=pluginsIcon,proto3" json:"pluginsIcon,omitempty"` PluginsURL string `protobuf:"bytes,3,opt,name=pluginsURL,proto3" json:"pluginsURL,omitempty"` PluginID int64 `protobuf:"varint,4,opt,name=pluginID,proto3" json:"pluginID,omitempty"` // contains filtered or unexported fields }
func (*PluginReply) Descriptor
deprecated
func (*PluginReply) Descriptor() ([]byte, []int)
Deprecated: Use PluginReply.ProtoReflect.Descriptor instead.
func (*PluginReply) GetPluginID ¶
func (x *PluginReply) GetPluginID() int64
func (*PluginReply) GetPluginsIcon ¶
func (x *PluginReply) GetPluginsIcon() string
func (*PluginReply) GetPluginsName ¶
func (x *PluginReply) GetPluginsName() string
func (*PluginReply) GetPluginsURL ¶
func (x *PluginReply) GetPluginsURL() string
func (*PluginReply) ProtoMessage ¶
func (*PluginReply) ProtoMessage()
func (*PluginReply) ProtoReflect ¶
func (x *PluginReply) ProtoReflect() protoreflect.Message
func (*PluginReply) Reset ¶
func (x *PluginReply) Reset()
func (*PluginReply) String ¶
func (x *PluginReply) String() string
type PutSystemConfigReply ¶
type PutSystemConfigReply struct {
// contains filtered or unexported fields
}
func (*PutSystemConfigReply) Descriptor
deprecated
func (*PutSystemConfigReply) Descriptor() ([]byte, []int)
Deprecated: Use PutSystemConfigReply.ProtoReflect.Descriptor instead.
func (*PutSystemConfigReply) ProtoMessage ¶
func (*PutSystemConfigReply) ProtoMessage()
func (*PutSystemConfigReply) ProtoReflect ¶
func (x *PutSystemConfigReply) ProtoReflect() protoreflect.Message
func (*PutSystemConfigReply) Reset ¶
func (x *PutSystemConfigReply) Reset()
func (*PutSystemConfigReply) String ¶
func (x *PutSystemConfigReply) String() string
type PutSystemConfigReq ¶
type PutSystemConfigReq struct { WebrtcURL string `protobuf:"bytes,1,opt,name=webrtcURL,proto3" json:"webrtcURL,omitempty"` // contains filtered or unexported fields }
func (*PutSystemConfigReq) Descriptor
deprecated
func (*PutSystemConfigReq) Descriptor() ([]byte, []int)
Deprecated: Use PutSystemConfigReq.ProtoReflect.Descriptor instead.
func (*PutSystemConfigReq) GetWebrtcURL ¶
func (x *PutSystemConfigReq) GetWebrtcURL() string
func (*PutSystemConfigReq) ProtoMessage ¶
func (*PutSystemConfigReq) ProtoMessage()
func (*PutSystemConfigReq) ProtoReflect ¶
func (x *PutSystemConfigReq) ProtoReflect() protoreflect.Message
func (*PutSystemConfigReq) Reset ¶
func (x *PutSystemConfigReq) Reset()
func (*PutSystemConfigReq) String ¶
func (x *PutSystemConfigReq) String() string
type Result ¶
type Result struct {
// contains filtered or unexported fields
}
func (*Result) Descriptor
deprecated
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶
func (x *Result) ProtoReflect() protoreflect.Message
type RobotDataDoc ¶
type RobotDataDoc struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` RobotId int64 `protobuf:"varint,2,opt,name=RobotId,proto3" json:"RobotId,omitempty"` IdentityNo string `protobuf:"bytes,3,opt,name=identityNo,proto3" json:"identityNo,omitempty"` IdentityName string `protobuf:"bytes,4,opt,name=identityName,proto3" json:"identityName,omitempty"` ExecuteCertificate string `protobuf:"bytes,5,opt,name=executeCertificate,proto3" json:"executeCertificate,omitempty"` CreateAt string `protobuf:"bytes,6,opt,name=createAt,proto3" json:"createAt,omitempty"` CreateBy int64 `protobuf:"varint,7,opt,name=createBy,proto3" json:"createBy,omitempty"` // contains filtered or unexported fields }
func (*RobotDataDoc) Descriptor
deprecated
func (*RobotDataDoc) Descriptor() ([]byte, []int)
Deprecated: Use RobotDataDoc.ProtoReflect.Descriptor instead.
func (*RobotDataDoc) GetCreateAt ¶
func (x *RobotDataDoc) GetCreateAt() string
func (*RobotDataDoc) GetCreateBy ¶
func (x *RobotDataDoc) GetCreateBy() int64
func (*RobotDataDoc) GetExecuteCertificate ¶
func (x *RobotDataDoc) GetExecuteCertificate() string
func (*RobotDataDoc) GetId ¶
func (x *RobotDataDoc) GetId() int64
func (*RobotDataDoc) GetIdentityName ¶
func (x *RobotDataDoc) GetIdentityName() string
func (*RobotDataDoc) GetIdentityNo ¶
func (x *RobotDataDoc) GetIdentityNo() string
func (*RobotDataDoc) GetRobotId ¶
func (x *RobotDataDoc) GetRobotId() int64
func (*RobotDataDoc) ProtoMessage ¶
func (*RobotDataDoc) ProtoMessage()
func (*RobotDataDoc) ProtoReflect ¶
func (x *RobotDataDoc) ProtoReflect() protoreflect.Message
func (*RobotDataDoc) Reset ¶
func (x *RobotDataDoc) Reset()
func (*RobotDataDoc) String ¶
func (x *RobotDataDoc) String() string
type RobotDoc ¶
type RobotDoc struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Des string `protobuf:"bytes,8,opt,name=des,proto3" json:"des,omitempty"` SessionInfo []*SessionDoc `protobuf:"bytes,9,rep,name=sessionInfo,proto3" json:"sessionInfo,omitempty"` Type int32 `protobuf:"varint,10,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*RobotDoc) Descriptor
deprecated
func (*RobotDoc) GetSessionInfo ¶
func (x *RobotDoc) GetSessionInfo() []*SessionDoc
func (*RobotDoc) ProtoMessage ¶
func (*RobotDoc) ProtoMessage()
func (*RobotDoc) ProtoReflect ¶
func (x *RobotDoc) ProtoReflect() protoreflect.Message
type RobotListReq ¶
type RobotListReq 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"` // string nickName = 3 [(openapiv2.field) = { description: "呢称:查询条件" }]; Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*RobotListReq) Descriptor
deprecated
func (*RobotListReq) Descriptor() ([]byte, []int)
Deprecated: Use RobotListReq.ProtoReflect.Descriptor instead.
func (*RobotListReq) GetName ¶
func (x *RobotListReq) GetName() string
func (*RobotListReq) GetPage ¶
func (x *RobotListReq) GetPage() int32
func (*RobotListReq) GetPageSize ¶
func (x *RobotListReq) GetPageSize() int32
func (*RobotListReq) ProtoMessage ¶
func (*RobotListReq) ProtoMessage()
func (*RobotListReq) ProtoReflect ¶
func (x *RobotListReq) ProtoReflect() protoreflect.Message
func (*RobotListReq) Reset ¶
func (x *RobotListReq) Reset()
func (*RobotListReq) String ¶
func (x *RobotListReq) String() string
type SessionDoc ¶
type SessionDoc struct { SessionID int64 `protobuf:"varint,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"` SessionName string `protobuf:"bytes,2,opt,name=sessionName,proto3" json:"sessionName,omitempty"` Type int32 `protobuf:"varint,7,opt,name=type,proto3" json:"type,omitempty"` UserIDList []int64 `protobuf:"varint,3,rep,packed,name=userIDList,proto3" json:"userIDList,omitempty"` EndTime int32 `protobuf:"varint,4,opt,name=endTime,proto3" json:"endTime,omitempty"` LastMessageTime string `protobuf:"bytes,5,opt,name=lastMessageTime,proto3" json:"lastMessageTime,omitempty"` MessageID string `protobuf:"bytes,6,opt,name=messageID,proto3" json:"messageID,omitempty"` // contains filtered or unexported fields }
func (*SessionDoc) Descriptor
deprecated
func (*SessionDoc) Descriptor() ([]byte, []int)
Deprecated: Use SessionDoc.ProtoReflect.Descriptor instead.
func (*SessionDoc) GetEndTime ¶
func (x *SessionDoc) GetEndTime() int32
func (*SessionDoc) GetLastMessageTime ¶
func (x *SessionDoc) GetLastMessageTime() string
func (*SessionDoc) GetMessageID ¶
func (x *SessionDoc) GetMessageID() string
func (*SessionDoc) GetSessionID ¶
func (x *SessionDoc) GetSessionID() int64
func (*SessionDoc) GetSessionName ¶
func (x *SessionDoc) GetSessionName() string
func (*SessionDoc) GetType ¶
func (x *SessionDoc) GetType() int32
func (*SessionDoc) GetUserIDList ¶
func (x *SessionDoc) GetUserIDList() []int64
func (*SessionDoc) ProtoMessage ¶
func (*SessionDoc) ProtoMessage()
func (*SessionDoc) ProtoReflect ¶
func (x *SessionDoc) ProtoReflect() protoreflect.Message
func (*SessionDoc) Reset ¶
func (x *SessionDoc) Reset()
func (*SessionDoc) String ¶
func (x *SessionDoc) String() string
type SysActionCard ¶
type SysActionCard struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` Orientation int32 `protobuf:"varint,3,opt,name=orientation,proto3" json:"orientation,omitempty"` Btns []*SysActionCardBtn `protobuf:"bytes,4,rep,name=btns,proto3" json:"btns,omitempty"` // contains filtered or unexported fields }
func (*SysActionCard) Descriptor
deprecated
func (*SysActionCard) Descriptor() ([]byte, []int)
Deprecated: Use SysActionCard.ProtoReflect.Descriptor instead.
func (*SysActionCard) GetBtns ¶
func (x *SysActionCard) GetBtns() []*SysActionCardBtn
func (*SysActionCard) GetOrientation ¶
func (x *SysActionCard) GetOrientation() int32
func (*SysActionCard) GetText ¶
func (x *SysActionCard) GetText() string
func (*SysActionCard) GetTitle ¶
func (x *SysActionCard) GetTitle() string
func (*SysActionCard) ProtoMessage ¶
func (*SysActionCard) ProtoMessage()
func (*SysActionCard) ProtoReflect ¶
func (x *SysActionCard) ProtoReflect() protoreflect.Message
func (*SysActionCard) Reset ¶
func (x *SysActionCard) Reset()
func (*SysActionCard) String ¶
func (x *SysActionCard) String() string
type SysActionCardBtn ¶
type SysActionCardBtn struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` ActionURL string `protobuf:"bytes,2,opt,name=actionURL,proto3" json:"actionURL,omitempty"` // contains filtered or unexported fields }
func (*SysActionCardBtn) Descriptor
deprecated
func (*SysActionCardBtn) Descriptor() ([]byte, []int)
Deprecated: Use SysActionCardBtn.ProtoReflect.Descriptor instead.
func (*SysActionCardBtn) GetActionURL ¶
func (x *SysActionCardBtn) GetActionURL() string
func (*SysActionCardBtn) GetTitle ¶
func (x *SysActionCardBtn) GetTitle() string
func (*SysActionCardBtn) ProtoMessage ¶
func (*SysActionCardBtn) ProtoMessage()
func (*SysActionCardBtn) ProtoReflect ¶
func (x *SysActionCardBtn) ProtoReflect() protoreflect.Message
func (*SysActionCardBtn) Reset ¶
func (x *SysActionCardBtn) Reset()
func (*SysActionCardBtn) String ¶
func (x *SysActionCardBtn) String() string
type SysMessageReply ¶
type SysMessageReply struct { From int64 `protobuf:"varint,1,opt,name=from,proto3" json:"from,omitempty"` // 发送消息用户uuid To int64 `protobuf:"varint,2,opt,name=to,proto3" json:"to,omitempty"` // 发送给对端用户的uuid Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // 文本消息内容 ContentType int32 `protobuf:"varint,4,opt,name=contentType,proto3" json:"contentType,omitempty"` // int32 SysMessageType = 5 [(openapiv2.field) = { // description: // "消息的类型,单聊或者群聊,1为单聊,2为群聊。如果为群聊时,to" // "的值应该为群聊ID", // required: ["SysMessageType"] // }]; // 消息类型,1.单聊 2.群聊 Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"` // 图片,视频,语音的路径 AudioData []byte `protobuf:"bytes,7,opt,name=audioData,proto3" json:"audioData,omitempty"` // 如果是图片,文件,视频等的二进制 Card *SysActionCard `protobuf:"bytes,8,opt,name=card,proto3" json:"card,omitempty"` MessageID int64 `protobuf:"varint,9,opt,name=messageID,proto3" json:"messageID,omitempty"` MessageDate string `protobuf:"bytes,10,opt,name=messageDate,proto3" json:"messageDate,omitempty"` IsReadUserList []*UserDoc `protobuf:"bytes,11,rep,name=isReadUserList,proto3" json:"isReadUserList,omitempty"` // contains filtered or unexported fields }
func (*SysMessageReply) Descriptor
deprecated
func (*SysMessageReply) Descriptor() ([]byte, []int)
Deprecated: Use SysMessageReply.ProtoReflect.Descriptor instead.
func (*SysMessageReply) GetAudioData ¶
func (x *SysMessageReply) GetAudioData() []byte
func (*SysMessageReply) GetCard ¶
func (x *SysMessageReply) GetCard() *SysActionCard
func (*SysMessageReply) GetContent ¶
func (x *SysMessageReply) GetContent() string
func (*SysMessageReply) GetContentType ¶
func (x *SysMessageReply) GetContentType() int32
func (*SysMessageReply) GetFrom ¶
func (x *SysMessageReply) GetFrom() int64
func (*SysMessageReply) GetIsReadUserList ¶ added in v1.0.1
func (x *SysMessageReply) GetIsReadUserList() []*UserDoc
func (*SysMessageReply) GetMessageDate ¶
func (x *SysMessageReply) GetMessageDate() string
func (*SysMessageReply) GetMessageID ¶
func (x *SysMessageReply) GetMessageID() int64
func (*SysMessageReply) GetTo ¶
func (x *SysMessageReply) GetTo() int64
func (*SysMessageReply) GetUrl ¶
func (x *SysMessageReply) GetUrl() string
func (*SysMessageReply) ProtoMessage ¶
func (*SysMessageReply) ProtoMessage()
func (*SysMessageReply) ProtoReflect ¶
func (x *SysMessageReply) ProtoReflect() protoreflect.Message
func (*SysMessageReply) Reset ¶
func (x *SysMessageReply) Reset()
func (*SysMessageReply) String ¶
func (x *SysMessageReply) String() string
type SysMessageReq ¶
type SysMessageReq struct { From int64 `protobuf:"varint,1,opt,name=from,proto3" json:"from,omitempty"` // 发送消息用户uuid To int64 `protobuf:"varint,2,opt,name=to,proto3" json:"to,omitempty"` // 发送给对端用户的uuid Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // 文本消息内容 ContentType int32 `protobuf:"varint,4,opt,name=contentType,proto3" json:"contentType,omitempty"` // int32 SysMessageType = 5 [(openapiv2.field) = { // description: // "消息的类型,单聊或者群聊,1为单聊,2为群聊。如果为群聊时,to" // "的值应该为群聊ID", // required: ["SysMessageType"] // }]; // 消息类型,1.单聊 2.群聊 Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"` // 图片,视频,语音的路径 AudioData string `protobuf:"bytes,7,opt,name=audioData,proto3" json:"audioData,omitempty"` // 如果是图片,文件,视频等的二进制 Card *SysActionCard `protobuf:"bytes,8,opt,name=card,proto3" json:"card,omitempty"` // contains filtered or unexported fields }
func (*SysMessageReq) Descriptor
deprecated
func (*SysMessageReq) Descriptor() ([]byte, []int)
Deprecated: Use SysMessageReq.ProtoReflect.Descriptor instead.
func (*SysMessageReq) GetAudioData ¶
func (x *SysMessageReq) GetAudioData() string
func (*SysMessageReq) GetCard ¶
func (x *SysMessageReq) GetCard() *SysActionCard
func (*SysMessageReq) GetContent ¶
func (x *SysMessageReq) GetContent() string
func (*SysMessageReq) GetContentType ¶
func (x *SysMessageReq) GetContentType() int32
func (*SysMessageReq) GetFrom ¶
func (x *SysMessageReq) GetFrom() int64
func (*SysMessageReq) GetTo ¶
func (x *SysMessageReq) GetTo() int64
func (*SysMessageReq) GetUrl ¶
func (x *SysMessageReq) GetUrl() string
func (*SysMessageReq) ProtoMessage ¶
func (*SysMessageReq) ProtoMessage()
func (*SysMessageReq) ProtoReflect ¶
func (x *SysMessageReq) ProtoReflect() protoreflect.Message
func (*SysMessageReq) Reset ¶
func (x *SysMessageReq) Reset()
func (*SysMessageReq) String ¶
func (x *SysMessageReq) String() string
type SystemClient ¶
type SystemClient interface { PutSystemConfig(ctx context.Context, in *PutSystemConfigReq, opts ...grpc.CallOption) (*PutSystemConfigReply, error) CreatePlugin(ctx context.Context, in *CreatePluginsReq, opts ...grpc.CallOption) (*CreatePluginsReply, error) ListPlugin(ctx context.Context, in *ListPluginsReq, opts ...grpc.CallOption) (*CreatePluginsReply, error) DeletePlugin(ctx context.Context, in *DeletePluginsReq, opts ...grpc.CallOption) (*DeletePluginsReply, error) PutPlugin(ctx context.Context, in *PluginReply, opts ...grpc.CallOption) (*PluginReply, error) }
SystemClient is the client API for System 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 NewSystemClient ¶
func NewSystemClient(cc grpc.ClientConnInterface) SystemClient
type SystemHTTPClient ¶
type SystemHTTPClient interface { CreatePlugin(ctx context.Context, req *CreatePluginsReq, opts ...http.CallOption) (rsp *CreatePluginsReply, err error) DeletePlugin(ctx context.Context, req *DeletePluginsReq, opts ...http.CallOption) (rsp *DeletePluginsReply, err error) ListPlugin(ctx context.Context, req *ListPluginsReq, opts ...http.CallOption) (rsp *CreatePluginsReply, err error) PutPlugin(ctx context.Context, req *PluginReply, opts ...http.CallOption) (rsp *PluginReply, err error) PutSystemConfig(ctx context.Context, req *PutSystemConfigReq, opts ...http.CallOption) (rsp *PutSystemConfigReply, err error) }
func NewSystemHTTPClient ¶
func NewSystemHTTPClient(client *http.Client) SystemHTTPClient
type SystemHTTPClientImpl ¶
type SystemHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*SystemHTTPClientImpl) CreatePlugin ¶
func (c *SystemHTTPClientImpl) CreatePlugin(ctx context.Context, in *CreatePluginsReq, opts ...http.CallOption) (*CreatePluginsReply, error)
func (*SystemHTTPClientImpl) DeletePlugin ¶
func (c *SystemHTTPClientImpl) DeletePlugin(ctx context.Context, in *DeletePluginsReq, opts ...http.CallOption) (*DeletePluginsReply, error)
func (*SystemHTTPClientImpl) ListPlugin ¶
func (c *SystemHTTPClientImpl) ListPlugin(ctx context.Context, in *ListPluginsReq, opts ...http.CallOption) (*CreatePluginsReply, error)
func (*SystemHTTPClientImpl) PutPlugin ¶
func (c *SystemHTTPClientImpl) PutPlugin(ctx context.Context, in *PluginReply, opts ...http.CallOption) (*PluginReply, error)
func (*SystemHTTPClientImpl) PutSystemConfig ¶
func (c *SystemHTTPClientImpl) PutSystemConfig(ctx context.Context, in *PutSystemConfigReq, opts ...http.CallOption) (*PutSystemConfigReply, error)
type SystemHTTPServer ¶
type SystemHTTPServer interface { CreatePlugin(context.Context, *CreatePluginsReq) (*CreatePluginsReply, error) DeletePlugin(context.Context, *DeletePluginsReq) (*DeletePluginsReply, error) ListPlugin(context.Context, *ListPluginsReq) (*CreatePluginsReply, error) PutPlugin(context.Context, *PluginReply) (*PluginReply, error) PutSystemConfig(context.Context, *PutSystemConfigReq) (*PutSystemConfigReply, error) }
type SystemServer ¶
type SystemServer interface { PutSystemConfig(context.Context, *PutSystemConfigReq) (*PutSystemConfigReply, error) CreatePlugin(context.Context, *CreatePluginsReq) (*CreatePluginsReply, error) ListPlugin(context.Context, *ListPluginsReq) (*CreatePluginsReply, error) DeletePlugin(context.Context, *DeletePluginsReq) (*DeletePluginsReply, error) PutPlugin(context.Context, *PluginReply) (*PluginReply, error) // contains filtered or unexported methods }
SystemServer is the server API for System service. All implementations must embed UnimplementedSystemServer for forward compatibility
type SystemnotifyMessageClient ¶
type SystemnotifyMessageClient interface { CreateSysMessage(ctx context.Context, in *SysMessageReq, opts ...grpc.CallOption) (*SysMessageReply, error) ListSysMessage(ctx context.Context, in *ListSysMessageReq, opts ...grpc.CallOption) (*ListSysMessageReply, error) ListLastSysMessages(ctx context.Context, in *ListLastSysMessageReq, opts ...grpc.CallOption) (*ListLastSysMessageReply, error) UpdateSysMessages(ctx context.Context, in *UpdateSysMessageReq, opts ...grpc.CallOption) (*UpdateSysMessageReply, error) }
SystemnotifyMessageClient is the client API for SystemnotifyMessage 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 NewSystemnotifyMessageClient ¶
func NewSystemnotifyMessageClient(cc grpc.ClientConnInterface) SystemnotifyMessageClient
type SystemnotifyMessageHTTPClient ¶
type SystemnotifyMessageHTTPClient interface { CreateSysMessage(ctx context.Context, req *SysMessageReq, opts ...http.CallOption) (rsp *SysMessageReply, err error) ListLastSysMessages(ctx context.Context, req *ListLastSysMessageReq, opts ...http.CallOption) (rsp *ListLastSysMessageReply, err error) ListSysMessage(ctx context.Context, req *ListSysMessageReq, opts ...http.CallOption) (rsp *ListSysMessageReply, err error) UpdateSysMessages(ctx context.Context, req *UpdateSysMessageReq, opts ...http.CallOption) (rsp *UpdateSysMessageReply, err error) }
func NewSystemnotifyMessageHTTPClient ¶
func NewSystemnotifyMessageHTTPClient(client *http.Client) SystemnotifyMessageHTTPClient
type SystemnotifyMessageHTTPClientImpl ¶
type SystemnotifyMessageHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*SystemnotifyMessageHTTPClientImpl) CreateSysMessage ¶
func (c *SystemnotifyMessageHTTPClientImpl) CreateSysMessage(ctx context.Context, in *SysMessageReq, opts ...http.CallOption) (*SysMessageReply, error)
func (*SystemnotifyMessageHTTPClientImpl) ListLastSysMessages ¶
func (c *SystemnotifyMessageHTTPClientImpl) ListLastSysMessages(ctx context.Context, in *ListLastSysMessageReq, opts ...http.CallOption) (*ListLastSysMessageReply, error)
func (*SystemnotifyMessageHTTPClientImpl) ListSysMessage ¶
func (c *SystemnotifyMessageHTTPClientImpl) ListSysMessage(ctx context.Context, in *ListSysMessageReq, opts ...http.CallOption) (*ListSysMessageReply, error)
func (*SystemnotifyMessageHTTPClientImpl) UpdateSysMessages ¶ added in v1.0.1
func (c *SystemnotifyMessageHTTPClientImpl) UpdateSysMessages(ctx context.Context, in *UpdateSysMessageReq, opts ...http.CallOption) (*UpdateSysMessageReply, error)
type SystemnotifyMessageHTTPServer ¶
type SystemnotifyMessageHTTPServer interface { CreateSysMessage(context.Context, *SysMessageReq) (*SysMessageReply, error) ListLastSysMessages(context.Context, *ListLastSysMessageReq) (*ListLastSysMessageReply, error) ListSysMessage(context.Context, *ListSysMessageReq) (*ListSysMessageReply, error) UpdateSysMessages(context.Context, *UpdateSysMessageReq) (*UpdateSysMessageReply, error) }
type SystemnotifyMessageServer ¶
type SystemnotifyMessageServer interface { CreateSysMessage(context.Context, *SysMessageReq) (*SysMessageReply, error) ListSysMessage(context.Context, *ListSysMessageReq) (*ListSysMessageReply, error) ListLastSysMessages(context.Context, *ListLastSysMessageReq) (*ListLastSysMessageReply, error) UpdateSysMessages(context.Context, *UpdateSysMessageReq) (*UpdateSysMessageReply, error) // contains filtered or unexported methods }
SystemnotifyMessageServer is the server API for SystemnotifyMessage service. All implementations must embed UnimplementedSystemnotifyMessageServer for forward compatibility
type UnimplementedNotifyRobotServer ¶
type UnimplementedNotifyRobotServer struct { }
UnimplementedNotifyRobotServer must be embedded to have forward compatible implementations.
func (UnimplementedNotifyRobotServer) CreateRobot ¶
func (UnimplementedNotifyRobotServer) CreateRobot(context.Context, *CreateRobotReq) (*Result, error)
func (UnimplementedNotifyRobotServer) GetRobotInfo ¶
func (UnimplementedNotifyRobotServer) GetRobotInfo(context.Context, *GetRobotInfoReq) (*GetRobotInfoResp, error)
func (UnimplementedNotifyRobotServer) GetRobotList ¶
func (UnimplementedNotifyRobotServer) GetRobotList(context.Context, *RobotListReq) (*GetRobotListResp, error)
func (UnimplementedNotifyRobotServer) GrpcUserAPI ¶
func (UnimplementedNotifyRobotServer) UpdateRobot ¶
func (UnimplementedNotifyRobotServer) UpdateRobot(context.Context, *UpdateRobotReq) (*Result, error)
type UnimplementedSystemServer ¶
type UnimplementedSystemServer struct { }
UnimplementedSystemServer must be embedded to have forward compatible implementations.
func (UnimplementedSystemServer) CreatePlugin ¶
func (UnimplementedSystemServer) CreatePlugin(context.Context, *CreatePluginsReq) (*CreatePluginsReply, error)
func (UnimplementedSystemServer) DeletePlugin ¶
func (UnimplementedSystemServer) DeletePlugin(context.Context, *DeletePluginsReq) (*DeletePluginsReply, error)
func (UnimplementedSystemServer) ListPlugin ¶
func (UnimplementedSystemServer) ListPlugin(context.Context, *ListPluginsReq) (*CreatePluginsReply, error)
func (UnimplementedSystemServer) PutPlugin ¶
func (UnimplementedSystemServer) PutPlugin(context.Context, *PluginReply) (*PluginReply, error)
func (UnimplementedSystemServer) PutSystemConfig ¶
func (UnimplementedSystemServer) PutSystemConfig(context.Context, *PutSystemConfigReq) (*PutSystemConfigReply, error)
type UnimplementedSystemnotifyMessageServer ¶
type UnimplementedSystemnotifyMessageServer struct { }
UnimplementedSystemnotifyMessageServer must be embedded to have forward compatible implementations.
func (UnimplementedSystemnotifyMessageServer) CreateSysMessage ¶
func (UnimplementedSystemnotifyMessageServer) CreateSysMessage(context.Context, *SysMessageReq) (*SysMessageReply, error)
func (UnimplementedSystemnotifyMessageServer) ListLastSysMessages ¶
func (UnimplementedSystemnotifyMessageServer) ListLastSysMessages(context.Context, *ListLastSysMessageReq) (*ListLastSysMessageReply, error)
func (UnimplementedSystemnotifyMessageServer) ListSysMessage ¶
func (UnimplementedSystemnotifyMessageServer) ListSysMessage(context.Context, *ListSysMessageReq) (*ListSysMessageReply, error)
func (UnimplementedSystemnotifyMessageServer) UpdateSysMessages ¶ added in v1.0.1
func (UnimplementedSystemnotifyMessageServer) UpdateSysMessages(context.Context, *UpdateSysMessageReq) (*UpdateSysMessageReply, error)
type UnsafeNotifyRobotServer ¶
type UnsafeNotifyRobotServer interface {
// contains filtered or unexported methods
}
UnsafeNotifyRobotServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NotifyRobotServer will result in compilation errors.
type UnsafeSystemServer ¶
type UnsafeSystemServer interface {
// contains filtered or unexported methods
}
UnsafeSystemServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SystemServer will result in compilation errors.
type UnsafeSystemnotifyMessageServer ¶
type UnsafeSystemnotifyMessageServer interface {
// contains filtered or unexported methods
}
UnsafeSystemnotifyMessageServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SystemnotifyMessageServer will result in compilation errors.
type UpdateRobotReq ¶
type UpdateRobotReq struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Des string `protobuf:"bytes,8,opt,name=des,proto3" json:"des,omitempty"` Session []int64 `protobuf:"varint,9,rep,packed,name=session,proto3" json:"session,omitempty"` Type int32 `protobuf:"varint,10,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*UpdateRobotReq) Descriptor
deprecated
func (*UpdateRobotReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRobotReq.ProtoReflect.Descriptor instead.
func (*UpdateRobotReq) GetDes ¶
func (x *UpdateRobotReq) GetDes() string
func (*UpdateRobotReq) GetId ¶
func (x *UpdateRobotReq) GetId() int64
func (*UpdateRobotReq) GetName ¶
func (x *UpdateRobotReq) GetName() string
func (*UpdateRobotReq) GetSession ¶
func (x *UpdateRobotReq) GetSession() []int64
func (*UpdateRobotReq) GetType ¶
func (x *UpdateRobotReq) GetType() int32
func (*UpdateRobotReq) ProtoMessage ¶
func (*UpdateRobotReq) ProtoMessage()
func (*UpdateRobotReq) ProtoReflect ¶
func (x *UpdateRobotReq) ProtoReflect() protoreflect.Message
func (*UpdateRobotReq) Reset ¶
func (x *UpdateRobotReq) Reset()
func (*UpdateRobotReq) String ¶
func (x *UpdateRobotReq) String() string
type UpdateSysMessageReply ¶ added in v1.0.1
type UpdateSysMessageReply struct { IsReadUserIds []int64 `protobuf:"varint,1,rep,packed,name=isReadUserIds,proto3" json:"isReadUserIds,omitempty"` // contains filtered or unexported fields }
func (*UpdateSysMessageReply) Descriptor
deprecated
added in
v1.0.1
func (*UpdateSysMessageReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSysMessageReply.ProtoReflect.Descriptor instead.
func (*UpdateSysMessageReply) GetIsReadUserIds ¶ added in v1.0.1
func (x *UpdateSysMessageReply) GetIsReadUserIds() []int64
func (*UpdateSysMessageReply) ProtoMessage ¶ added in v1.0.1
func (*UpdateSysMessageReply) ProtoMessage()
func (*UpdateSysMessageReply) ProtoReflect ¶ added in v1.0.1
func (x *UpdateSysMessageReply) ProtoReflect() protoreflect.Message
func (*UpdateSysMessageReply) Reset ¶ added in v1.0.1
func (x *UpdateSysMessageReply) Reset()
func (*UpdateSysMessageReply) String ¶ added in v1.0.1
func (x *UpdateSysMessageReply) String() string
type UpdateSysMessageReq ¶ added in v1.0.1
type UpdateSysMessageReq struct { Id int64 `protobuf:"varint,9,opt,name=id,proto3" json:"id,omitempty"` From int64 `protobuf:"varint,1,opt,name=from,proto3" json:"from,omitempty"` // 发送消息用户uuid To int64 `protobuf:"varint,2,opt,name=to,proto3" json:"to,omitempty"` // 发送给对端用户的uuid Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // 文本消息内容 ContentType int32 `protobuf:"varint,4,opt,name=contentType,proto3" json:"contentType,omitempty"` // int32 SysMessageType = 5 [(openapiv2.field) = { // description: // "消息的类型,单聊或者群聊,1为单聊,2为群聊。如果为群聊时,to" // "的值应该为群聊ID", // required: ["SysMessageType"] // }]; // 消息类型,1.单聊 2.群聊 Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"` // 图片,视频,语音的路径 AudioData string `protobuf:"bytes,7,opt,name=audioData,proto3" json:"audioData,omitempty"` // 如果是图片,文件,视频等的二进制 Card *SysActionCard `protobuf:"bytes,8,opt,name=card,proto3" json:"card,omitempty"` IsReadUserIds []int64 `protobuf:"varint,10,rep,packed,name=isReadUserIds,proto3" json:"isReadUserIds,omitempty"` // contains filtered or unexported fields }
func (*UpdateSysMessageReq) Descriptor
deprecated
added in
v1.0.1
func (*UpdateSysMessageReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSysMessageReq.ProtoReflect.Descriptor instead.
func (*UpdateSysMessageReq) GetAudioData ¶ added in v1.0.1
func (x *UpdateSysMessageReq) GetAudioData() string
func (*UpdateSysMessageReq) GetCard ¶ added in v1.0.1
func (x *UpdateSysMessageReq) GetCard() *SysActionCard
func (*UpdateSysMessageReq) GetContent ¶ added in v1.0.1
func (x *UpdateSysMessageReq) GetContent() string
func (*UpdateSysMessageReq) GetContentType ¶ added in v1.0.1
func (x *UpdateSysMessageReq) GetContentType() int32
func (*UpdateSysMessageReq) GetFrom ¶ added in v1.0.1
func (x *UpdateSysMessageReq) GetFrom() int64
func (*UpdateSysMessageReq) GetId ¶ added in v1.0.1
func (x *UpdateSysMessageReq) GetId() int64
func (*UpdateSysMessageReq) GetIsReadUserIds ¶ added in v1.0.1
func (x *UpdateSysMessageReq) GetIsReadUserIds() []int64
func (*UpdateSysMessageReq) GetTo ¶ added in v1.0.1
func (x *UpdateSysMessageReq) GetTo() int64
func (*UpdateSysMessageReq) GetUrl ¶ added in v1.0.1
func (x *UpdateSysMessageReq) GetUrl() string
func (*UpdateSysMessageReq) ProtoMessage ¶ added in v1.0.1
func (*UpdateSysMessageReq) ProtoMessage()
func (*UpdateSysMessageReq) ProtoReflect ¶ added in v1.0.1
func (x *UpdateSysMessageReq) ProtoReflect() protoreflect.Message
func (*UpdateSysMessageReq) Reset ¶ added in v1.0.1
func (x *UpdateSysMessageReq) Reset()
func (*UpdateSysMessageReq) String ¶ added in v1.0.1
func (x *UpdateSysMessageReq) String() string
type UserDoc ¶ added in v1.0.1
type UserDoc struct { Id int64 `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 (*UserDoc) Descriptor
deprecated
added in
v1.0.1
func (*UserDoc) ProtoMessage ¶ added in v1.0.1
func (*UserDoc) ProtoMessage()
func (*UserDoc) ProtoReflect ¶ added in v1.0.1
func (x *UserDoc) ProtoReflect() protoreflect.Message
type UserReq ¶
type UserReq struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*UserReq) Descriptor
deprecated
func (*UserReq) ProtoMessage ¶
func (*UserReq) ProtoMessage()
func (*UserReq) ProtoReflect ¶
func (x *UserReq) ProtoReflect() protoreflect.Message
type UserResp ¶
type UserResp struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"` // ... // contains filtered or unexported fields }
func (*UserResp) Descriptor
deprecated
func (*UserResp) ProtoMessage ¶
func (*UserResp) ProtoMessage()
func (*UserResp) ProtoReflect ¶
func (x *UserResp) ProtoReflect() protoreflect.Message