Documentation ¶
Index ¶
- Variables
- func RegisterChannelServiceServer(s grpc.ServiceRegistrar, srv ChannelServiceServer)
- func RegisterMessageServiceServer(s grpc.ServiceRegistrar, srv MessageServiceServer)
- func RegisterWorkspaceServiceServer(s grpc.ServiceRegistrar, srv WorkspaceServiceServer)
- type Channel
- func (*Channel) Descriptor() ([]byte, []int)deprecated
- func (x *Channel) GetChannelDesc() string
- func (x *Channel) GetChannelName() string
- func (x *Channel) GetCreatedAt() *timestamppb.Timestamp
- func (x *Channel) GetId() uint32
- func (x *Channel) GetIdS() string
- func (x *Channel) GetMessages() []*Message
- func (x *Channel) GetNumMessages() uint32
- func (x *Channel) GetNumTags() uint32
- func (x *Channel) GetNumViews() uint32
- func (x *Channel) GetStatusc() uint32
- func (x *Channel) GetTag1() string
- func (x *Channel) GetTag10() string
- func (x *Channel) GetTag2() string
- func (x *Channel) GetTag3() string
- func (x *Channel) GetTag4() string
- func (x *Channel) GetTag5() string
- func (x *Channel) GetTag6() string
- func (x *Channel) GetTag7() string
- func (x *Channel) GetTag8() string
- func (x *Channel) GetTag9() string
- func (x *Channel) GetUgroupId() uint32
- func (x *Channel) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Channel) GetUserId() uint32
- func (x *Channel) GetUuid4() []byte
- func (x *Channel) GetWorkspaceId() uint32
- func (*Channel) ProtoMessage()
- func (x *Channel) ProtoReflect() protoreflect.Message
- func (x *Channel) Reset()
- func (x *Channel) String() string
- type ChannelServiceClient
- type ChannelServiceServer
- type ChannelsUser
- func (*ChannelsUser) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelsUser) GetChannelId() uint32
- func (x *ChannelsUser) GetCreatedAt() *timestamppb.Timestamp
- func (x *ChannelsUser) GetId() uint32
- func (x *ChannelsUser) GetIdS() string
- func (x *ChannelsUser) GetNumMessages() uint32
- func (x *ChannelsUser) GetNumViews() uint32
- func (x *ChannelsUser) GetStatusc() uint32
- func (x *ChannelsUser) GetUgroupId() uint32
- func (x *ChannelsUser) GetUpdatedAt() *timestamppb.Timestamp
- func (x *ChannelsUser) GetUserId() uint32
- func (x *ChannelsUser) GetUuid4() []byte
- func (*ChannelsUser) ProtoMessage()
- func (x *ChannelsUser) ProtoReflect() protoreflect.Message
- func (x *ChannelsUser) Reset()
- func (x *ChannelsUser) String() string
- type CreateChannelRequest
- func (*CreateChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateChannelRequest) GetChannelDesc() string
- func (x *CreateChannelRequest) GetChannelName() string
- func (x *CreateChannelRequest) GetMattach() string
- func (x *CreateChannelRequest) GetMtext() string
- func (x *CreateChannelRequest) GetNumTags() uint32
- func (x *CreateChannelRequest) GetRequestId() string
- func (x *CreateChannelRequest) GetTag1() string
- func (x *CreateChannelRequest) GetTag10() string
- func (x *CreateChannelRequest) GetTag2() string
- func (x *CreateChannelRequest) GetTag3() string
- func (x *CreateChannelRequest) GetTag4() string
- func (x *CreateChannelRequest) GetTag5() string
- func (x *CreateChannelRequest) GetTag6() string
- func (x *CreateChannelRequest) GetTag7() string
- func (x *CreateChannelRequest) GetTag8() string
- func (x *CreateChannelRequest) GetTag9() string
- func (x *CreateChannelRequest) GetUgroupId() uint32
- func (x *CreateChannelRequest) GetUserEmail() string
- func (x *CreateChannelRequest) GetUserId() string
- func (x *CreateChannelRequest) GetWorkspaceId() uint32
- func (*CreateChannelRequest) ProtoMessage()
- func (x *CreateChannelRequest) ProtoReflect() protoreflect.Message
- func (x *CreateChannelRequest) Reset()
- func (x *CreateChannelRequest) String() string
- type CreateMessageRequest
- func (*CreateMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMessageRequest) GetChannelId() uint32
- func (x *CreateMessageRequest) GetMattach() string
- func (x *CreateMessageRequest) GetMtext() string
- func (x *CreateMessageRequest) GetRequestId() string
- func (x *CreateMessageRequest) GetRplyMsg() bool
- func (x *CreateMessageRequest) GetUgroupId() uint32
- func (x *CreateMessageRequest) GetUserEmail() string
- func (x *CreateMessageRequest) GetUserId() string
- func (x *CreateMessageRequest) GetWorkspaceId() uint32
- func (*CreateMessageRequest) ProtoMessage()
- func (x *CreateMessageRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMessageRequest) Reset()
- func (x *CreateMessageRequest) String() string
- type CreateWorkspaceRequest
- func (*CreateWorkspaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWorkspaceRequest) GetParentId() uint32
- func (x *CreateWorkspaceRequest) GetRequestId() string
- func (x *CreateWorkspaceRequest) GetUserEmail() string
- func (x *CreateWorkspaceRequest) GetUserId() string
- func (x *CreateWorkspaceRequest) GetWorkspaceDesc() string
- func (x *CreateWorkspaceRequest) GetWorkspaceName() string
- func (*CreateWorkspaceRequest) ProtoMessage()
- func (x *CreateWorkspaceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateWorkspaceRequest) Reset()
- func (x *CreateWorkspaceRequest) String() string
- type GetChannelByNameRequest
- func (*GetChannelByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChannelByNameRequest) GetChannelName() string
- func (x *GetChannelByNameRequest) GetRequestId() string
- func (x *GetChannelByNameRequest) GetUserEmail() string
- func (*GetChannelByNameRequest) ProtoMessage()
- func (x *GetChannelByNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetChannelByNameRequest) Reset()
- func (x *GetChannelByNameRequest) String() string
- type GetChannelMessagesRequest
- func (*GetChannelMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChannelMessagesRequest) GetRequestId() string
- func (x *GetChannelMessagesRequest) GetUserEmail() string
- func (x *GetChannelMessagesRequest) GetUuid4Byte() []byte
- func (*GetChannelMessagesRequest) ProtoMessage()
- func (x *GetChannelMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *GetChannelMessagesRequest) Reset()
- func (x *GetChannelMessagesRequest) String() string
- type GetChannelRequest
- func (*GetChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChannelRequest) GetId() string
- func (x *GetChannelRequest) GetRequestId() string
- func (x *GetChannelRequest) GetUserEmail() string
- func (x *GetChannelRequest) GetUserId() string
- func (*GetChannelRequest) ProtoMessage()
- func (x *GetChannelRequest) ProtoReflect() protoreflect.Message
- func (x *GetChannelRequest) Reset()
- func (x *GetChannelRequest) String() string
- type GetChannelsUserRequest
- func (*GetChannelsUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChannelsUserRequest) GetId() uint32
- func (x *GetChannelsUserRequest) GetRequestId() string
- func (x *GetChannelsUserRequest) GetUserEmail() string
- func (x *GetChannelsUserRequest) GetUserId() uint32
- func (*GetChannelsUserRequest) ProtoMessage()
- func (x *GetChannelsUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetChannelsUserRequest) Reset()
- func (x *GetChannelsUserRequest) String() string
- type GetMessagesTextsRequest
- func (*GetMessagesTextsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMessagesTextsRequest) GetMessageId() uint32
- func (x *GetMessagesTextsRequest) GetRequestId() string
- func (x *GetMessagesTextsRequest) GetUserEmail() string
- func (*GetMessagesTextsRequest) ProtoMessage()
- func (x *GetMessagesTextsRequest) ProtoReflect() protoreflect.Message
- func (x *GetMessagesTextsRequest) Reset()
- func (x *GetMessagesTextsRequest) String() string
- type GetMessagesWithTextAttachRequest
- func (*GetMessagesWithTextAttachRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMessagesWithTextAttachRequest) GetMessages() []*Message
- func (x *GetMessagesWithTextAttachRequest) GetRequestId() string
- func (x *GetMessagesWithTextAttachRequest) GetUserEmail() string
- func (*GetMessagesWithTextAttachRequest) ProtoMessage()
- func (x *GetMessagesWithTextAttachRequest) ProtoReflect() protoreflect.Message
- func (x *GetMessagesWithTextAttachRequest) Reset()
- func (x *GetMessagesWithTextAttachRequest) String() string
- type GetTopLevelWorkspacesRequest
- func (*GetTopLevelWorkspacesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTopLevelWorkspacesRequest) GetRequestId() string
- func (x *GetTopLevelWorkspacesRequest) GetUserEmail() string
- func (*GetTopLevelWorkspacesRequest) ProtoMessage()
- func (x *GetTopLevelWorkspacesRequest) ProtoReflect() protoreflect.Message
- func (x *GetTopLevelWorkspacesRequest) Reset()
- func (x *GetTopLevelWorkspacesRequest) String() string
- type GetWorkspacesRequest
- func (*GetWorkspacesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetWorkspacesRequest) GetLimit() string
- func (x *GetWorkspacesRequest) GetNextCursor() string
- func (x *GetWorkspacesRequest) GetRequestId() string
- func (x *GetWorkspacesRequest) GetUserEmail() string
- func (*GetWorkspacesRequest) ProtoMessage()
- func (x *GetWorkspacesRequest) ProtoReflect() protoreflect.Message
- func (x *GetWorkspacesRequest) Reset()
- func (x *GetWorkspacesRequest) String() string
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetChannelId() uint32
- func (x *Message) GetCreatedAt() *timestamppb.Timestamp
- func (x *Message) GetId() uint32
- func (x *Message) GetIdS() string
- func (x *Message) GetMessageAttachments() []*MessageAttachment
- func (x *Message) GetMessageTexts() []*MessageText
- func (x *Message) GetNumDownvotes() uint32
- func (x *Message) GetNumLikes() uint32
- func (x *Message) GetNumUpvotes() uint32
- func (x *Message) GetStatusc() uint32
- func (x *Message) GetUgroupId() uint32
- func (x *Message) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Message) GetUserId() uint32
- func (x *Message) GetUuid4() []byte
- func (x *Message) GetWorkspaceId() uint32
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type MessageAttachment
- func (*MessageAttachment) Descriptor() ([]byte, []int)deprecated
- func (x *MessageAttachment) GetChannelId() uint32
- func (x *MessageAttachment) GetCreatedAt() *timestamppb.Timestamp
- func (x *MessageAttachment) GetId() uint32
- func (x *MessageAttachment) GetMattach() string
- func (x *MessageAttachment) GetMessageId() uint32
- func (x *MessageAttachment) GetStatusc() uint32
- func (x *MessageAttachment) GetUgroupId() uint32
- func (x *MessageAttachment) GetUpdatedAt() *timestamppb.Timestamp
- func (x *MessageAttachment) GetUserId() uint32
- func (x *MessageAttachment) GetUuid4() []byte
- func (x *MessageAttachment) GetWorkspaceId() uint32
- func (*MessageAttachment) ProtoMessage()
- func (x *MessageAttachment) ProtoReflect() protoreflect.Message
- func (x *MessageAttachment) Reset()
- func (x *MessageAttachment) String() string
- type MessageAttachments
- func (*MessageAttachments) Descriptor() ([]byte, []int)deprecated
- func (x *MessageAttachments) GetMessageAttachments() []*MessageAttachment
- func (*MessageAttachments) ProtoMessage()
- func (x *MessageAttachments) ProtoReflect() protoreflect.Message
- func (x *MessageAttachments) Reset()
- func (x *MessageAttachments) String() string
- type MessageServiceClient
- type MessageServiceServer
- type MessageText
- func (*MessageText) Descriptor() ([]byte, []int)deprecated
- func (x *MessageText) GetChannelId() uint32
- func (x *MessageText) GetCreatedAt() *timestamppb.Timestamp
- func (x *MessageText) GetId() uint32
- func (x *MessageText) GetMessageId() uint32
- func (x *MessageText) GetMtext() string
- func (x *MessageText) GetStatusc() uint32
- func (x *MessageText) GetUgroupId() uint32
- func (x *MessageText) GetUpdatedAt() *timestamppb.Timestamp
- func (x *MessageText) GetUserId() uint32
- func (x *MessageText) GetUuid4() []byte
- func (x *MessageText) GetWorkspaceId() uint32
- func (*MessageText) ProtoMessage()
- func (x *MessageText) ProtoReflect() protoreflect.Message
- func (x *MessageText) Reset()
- func (x *MessageText) String() string
- type MessageTexts
- type Messages
- type UnimplementedChannelServiceServer
- func (UnimplementedChannelServiceServer) CreateChannel(context.Context, *CreateChannelRequest) (*Channel, error)
- func (UnimplementedChannelServiceServer) DeleteChannel(context.Context, *commonproto.GetRequest) (*commonproto.Empty, error)
- func (UnimplementedChannelServiceServer) GetChannel(context.Context, *commonproto.GetRequest) (*Channel, error)
- func (UnimplementedChannelServiceServer) GetChannelByName(context.Context, *GetChannelByNameRequest) (*Channel, error)
- func (UnimplementedChannelServiceServer) GetChannelByPk(context.Context, *commonproto.GetByIdRequest) (*Channel, error)
- func (UnimplementedChannelServiceServer) GetChannelMessages(context.Context, *GetChannelMessagesRequest) (*Channel, error)
- func (UnimplementedChannelServiceServer) GetChannelWithMessages(context.Context, *commonproto.GetRequest) (*Channel, error)
- func (UnimplementedChannelServiceServer) GetChannelsUser(context.Context, *GetChannelsUserRequest) (*ChannelsUser, error)
- func (UnimplementedChannelServiceServer) ShowChannel(context.Context, *GetChannelRequest) (*Channel, error)
- func (UnimplementedChannelServiceServer) UpdateChannel(context.Context, *UpdateChannelRequest) (*commonproto.Empty, error)
- type UnimplementedMessageServiceServer
- func (UnimplementedMessageServiceServer) CreateMessage(context.Context, *CreateMessageRequest) (*Message, error)
- func (UnimplementedMessageServiceServer) CreateUserLike(context.Context, *UserLikeRequest) (*UserLike, error)
- func (UnimplementedMessageServiceServer) CreateUserVote(context.Context, *UserVoteRequest) (*UserVote, error)
- func (UnimplementedMessageServiceServer) DeleteMessage(context.Context, *commonproto.GetRequest) (*commonproto.Empty, error)
- func (UnimplementedMessageServiceServer) GetMessage(context.Context, *commonproto.GetRequest) (*Message, error)
- func (UnimplementedMessageServiceServer) GetMessageAttachments(context.Context, *GetMessagesTextsRequest) (*MessageAttachments, error)
- func (UnimplementedMessageServiceServer) GetMessagesTexts(context.Context, *GetMessagesTextsRequest) (*MessageTexts, error)
- func (UnimplementedMessageServiceServer) GetMessagesWithTextAttach(context.Context, *GetMessagesWithTextAttachRequest) (*Messages, error)
- func (UnimplementedMessageServiceServer) UpdateMessage(context.Context, *UpdateMessageRequest) (*commonproto.Empty, error)
- type UnimplementedWorkspaceServiceServer
- func (UnimplementedWorkspaceServiceServer) CreateChild(context.Context, *CreateWorkspaceRequest) (*Workspace, error)
- func (UnimplementedWorkspaceServiceServer) CreateWorkspace(context.Context, *CreateWorkspaceRequest) (*Workspace, error)
- func (UnimplementedWorkspaceServiceServer) DeleteWorkspace(context.Context, *commonproto.GetRequest) (*commonproto.Empty, error)
- func (UnimplementedWorkspaceServiceServer) GetChildWorkspaces(context.Context, *commonproto.GetRequest) (*Workspaces, error)
- func (UnimplementedWorkspaceServiceServer) GetParentWorkspace(context.Context, *commonproto.GetRequest) (*Workspace, error)
- func (UnimplementedWorkspaceServiceServer) GetTopLevelWorkspaces(context.Context, *GetTopLevelWorkspacesRequest) (*Workspaces, error)
- func (UnimplementedWorkspaceServiceServer) GetWorkspace(context.Context, *commonproto.GetRequest) (*Workspace, error)
- func (UnimplementedWorkspaceServiceServer) GetWorkspaceByPk(context.Context, *commonproto.GetByIdRequest) (*Workspace, error)
- func (UnimplementedWorkspaceServiceServer) GetWorkspaceWithChannels(context.Context, *commonproto.GetRequest) (*Workspace, error)
- func (UnimplementedWorkspaceServiceServer) GetWorkspaces(context.Context, *GetWorkspacesRequest) (*WorkspaceCursor, error)
- func (UnimplementedWorkspaceServiceServer) UpdateWorkspace(context.Context, *UpdateWorkspaceRequest) (*commonproto.Empty, error)
- type UnsafeChannelServiceServer
- type UnsafeMessageServiceServer
- type UnsafeWorkspaceServiceServer
- type UpdateChannelRequest
- func (*UpdateChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateChannelRequest) GetChannelDesc() string
- func (x *UpdateChannelRequest) GetChannelName() string
- func (x *UpdateChannelRequest) GetId() string
- func (x *UpdateChannelRequest) GetRequestId() string
- func (x *UpdateChannelRequest) GetUserEmail() string
- func (x *UpdateChannelRequest) GetUserId() string
- func (*UpdateChannelRequest) ProtoMessage()
- func (x *UpdateChannelRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateChannelRequest) Reset()
- func (x *UpdateChannelRequest) String() string
- type UpdateMessageRequest
- func (*UpdateMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMessageRequest) GetId() string
- func (x *UpdateMessageRequest) GetMtext() string
- func (x *UpdateMessageRequest) GetRequestId() string
- func (x *UpdateMessageRequest) GetUserEmail() string
- func (x *UpdateMessageRequest) GetUserId() string
- func (*UpdateMessageRequest) ProtoMessage()
- func (x *UpdateMessageRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateMessageRequest) Reset()
- func (x *UpdateMessageRequest) String() string
- type UpdateWorkspaceRequest
- func (*UpdateWorkspaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWorkspaceRequest) GetId() string
- func (x *UpdateWorkspaceRequest) GetRequestId() string
- func (x *UpdateWorkspaceRequest) GetUserEmail() string
- func (x *UpdateWorkspaceRequest) GetUserId() string
- func (x *UpdateWorkspaceRequest) GetWorkspaceDesc() string
- func (x *UpdateWorkspaceRequest) GetWorkspaceName() string
- func (*UpdateWorkspaceRequest) ProtoMessage()
- func (x *UpdateWorkspaceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateWorkspaceRequest) Reset()
- func (x *UpdateWorkspaceRequest) String() string
- type UserChannel
- func (*UserChannel) Descriptor() ([]byte, []int)deprecated
- func (x *UserChannel) GetChannelId() uint32
- func (x *UserChannel) GetCreatedAt() *timestamppb.Timestamp
- func (x *UserChannel) GetId() uint32
- func (x *UserChannel) GetStatusc() uint32
- func (x *UserChannel) GetUgroupId() uint32
- func (x *UserChannel) GetUpdatedAt() *timestamppb.Timestamp
- func (x *UserChannel) GetUserId() uint32
- func (x *UserChannel) GetUuid4() []byte
- func (*UserChannel) ProtoMessage()
- func (x *UserChannel) ProtoReflect() protoreflect.Message
- func (x *UserChannel) Reset()
- func (x *UserChannel) String() string
- type UserLike
- func (*UserLike) Descriptor() ([]byte, []int)deprecated
- func (x *UserLike) GetChannelId() uint32
- func (x *UserLike) GetCreatedAt() *timestamppb.Timestamp
- func (x *UserLike) GetId() uint32
- func (x *UserLike) GetMessageId() uint32
- func (x *UserLike) GetStatusc() uint32
- func (x *UserLike) GetUgroupId() uint32
- func (x *UserLike) GetUpdatedAt() *timestamppb.Timestamp
- func (x *UserLike) GetUserId() uint32
- func (x *UserLike) GetUuid4() []byte
- func (*UserLike) ProtoMessage()
- func (x *UserLike) ProtoReflect() protoreflect.Message
- func (x *UserLike) Reset()
- func (x *UserLike) String() string
- type UserLikeRequest
- func (*UserLikeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserLikeRequest) GetChannelId() uint32
- func (x *UserLikeRequest) GetMessageId() uint32
- func (x *UserLikeRequest) GetRequestId() string
- func (x *UserLikeRequest) GetUgroupId() uint32
- func (x *UserLikeRequest) GetUserEmail() string
- func (x *UserLikeRequest) GetUserId() string
- func (*UserLikeRequest) ProtoMessage()
- func (x *UserLikeRequest) ProtoReflect() protoreflect.Message
- func (x *UserLikeRequest) Reset()
- func (x *UserLikeRequest) String() string
- type UserReply
- func (*UserReply) Descriptor() ([]byte, []int)deprecated
- func (x *UserReply) GetChannelId() uint32
- func (x *UserReply) GetCreatedAt() *timestamppb.Timestamp
- func (x *UserReply) GetId() uint32
- func (x *UserReply) GetMessageId() uint32
- func (x *UserReply) GetStatusc() uint32
- func (x *UserReply) GetUgroupId() uint32
- func (x *UserReply) GetUpdatedAt() *timestamppb.Timestamp
- func (x *UserReply) GetUserId() uint32
- func (x *UserReply) GetUuid4() []byte
- func (*UserReply) ProtoMessage()
- func (x *UserReply) ProtoReflect() protoreflect.Message
- func (x *UserReply) Reset()
- func (x *UserReply) String() string
- type UserVote
- func (*UserVote) Descriptor() ([]byte, []int)deprecated
- func (x *UserVote) GetChannelId() uint32
- func (x *UserVote) GetCreatedAt() *timestamppb.Timestamp
- func (x *UserVote) GetId() uint32
- func (x *UserVote) GetMessageId() uint32
- func (x *UserVote) GetStatusc() uint32
- func (x *UserVote) GetUgroupId() uint32
- func (x *UserVote) GetUpdatedAt() *timestamppb.Timestamp
- func (x *UserVote) GetUserId() uint32
- func (x *UserVote) GetUuid4() []byte
- func (x *UserVote) GetVote() uint32
- func (*UserVote) ProtoMessage()
- func (x *UserVote) ProtoReflect() protoreflect.Message
- func (x *UserVote) Reset()
- func (x *UserVote) String() string
- type UserVoteRequest
- func (*UserVoteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserVoteRequest) GetChannelId() uint32
- func (x *UserVoteRequest) GetMessageId() uint32
- func (x *UserVoteRequest) GetRequestId() string
- func (x *UserVoteRequest) GetUgroupId() uint32
- func (x *UserVoteRequest) GetUserEmail() string
- func (x *UserVoteRequest) GetUserId() string
- func (x *UserVoteRequest) GetVote() uint32
- func (*UserVoteRequest) ProtoMessage()
- func (x *UserVoteRequest) ProtoReflect() protoreflect.Message
- func (x *UserVoteRequest) Reset()
- func (x *UserVoteRequest) String() string
- type Workspace
- func (*Workspace) Descriptor() ([]byte, []int)deprecated
- func (x *Workspace) GetChannels() []*Channel
- func (x *Workspace) GetCreatedAt() *timestamppb.Timestamp
- func (x *Workspace) GetId() uint32
- func (x *Workspace) GetIdS() string
- func (x *Workspace) GetLevelc() uint32
- func (x *Workspace) GetNumChannels() uint32
- func (x *Workspace) GetNumChd() uint32
- func (x *Workspace) GetNumViews() uint32
- func (x *Workspace) GetParentId() uint32
- func (x *Workspace) GetStatusc() uint32
- func (x *Workspace) GetUgroupId() uint32
- func (x *Workspace) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Workspace) GetUserId() uint32
- func (x *Workspace) GetUuid4() []byte
- func (x *Workspace) GetWorkspaceDesc() string
- func (x *Workspace) GetWorkspaceName() string
- func (*Workspace) ProtoMessage()
- func (x *Workspace) ProtoReflect() protoreflect.Message
- func (x *Workspace) Reset()
- func (x *Workspace) String() string
- type WorkspaceChd
- func (*WorkspaceChd) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceChd) GetCreatedAt() *timestamppb.Timestamp
- func (x *WorkspaceChd) GetId() uint32
- func (x *WorkspaceChd) GetStatusc() uint32
- func (x *WorkspaceChd) GetUpdatedAt() *timestamppb.Timestamp
- func (x *WorkspaceChd) GetUuid4() []byte
- func (x *WorkspaceChd) GetWorkspaceChdId() uint32
- func (x *WorkspaceChd) GetWorkspaceId() uint32
- func (*WorkspaceChd) ProtoMessage()
- func (x *WorkspaceChd) ProtoReflect() protoreflect.Message
- func (x *WorkspaceChd) Reset()
- func (x *WorkspaceChd) String() string
- type WorkspaceCursor
- func (*WorkspaceCursor) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceCursor) GetNextCursor() string
- func (x *WorkspaceCursor) GetWorkspaces() []*Workspace
- func (*WorkspaceCursor) ProtoMessage()
- func (x *WorkspaceCursor) ProtoReflect() protoreflect.Message
- func (x *WorkspaceCursor) Reset()
- func (x *WorkspaceCursor) String() string
- type WorkspaceServiceClient
- type WorkspaceServiceServer
- type Workspaces
Constants ¶
This section is empty.
Variables ¶
var File_protofiles_msg_channel_proto protoreflect.FileDescriptor
var File_protofiles_msg_message_proto protoreflect.FileDescriptor
var File_protofiles_msg_workspace_proto protoreflect.FileDescriptor
Functions ¶
func RegisterChannelServiceServer ¶
func RegisterChannelServiceServer(s grpc.ServiceRegistrar, srv ChannelServiceServer)
func RegisterMessageServiceServer ¶
func RegisterMessageServiceServer(s grpc.ServiceRegistrar, srv MessageServiceServer)
func RegisterWorkspaceServiceServer ¶
func RegisterWorkspaceServiceServer(s grpc.ServiceRegistrar, srv WorkspaceServiceServer)
Types ¶
type Channel ¶
type Channel struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Uuid4 []byte `protobuf:"bytes,2,opt,name=uuid4,proto3" json:"uuid4,omitempty"` IdS string `protobuf:"bytes,3,opt,name=id_s,json=idS,proto3" json:"id_s,omitempty"` ChannelName string `protobuf:"bytes,4,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"` ChannelDesc string `protobuf:"bytes,5,opt,name=channel_desc,json=channelDesc,proto3" json:"channel_desc,omitempty"` NumTags uint32 `protobuf:"varint,6,opt,name=num_tags,json=numTags,proto3" json:"num_tags,omitempty"` Tag1 string `protobuf:"bytes,7,opt,name=tag1,proto3" json:"tag1,omitempty"` Tag2 string `protobuf:"bytes,8,opt,name=tag2,proto3" json:"tag2,omitempty"` Tag3 string `protobuf:"bytes,9,opt,name=tag3,proto3" json:"tag3,omitempty"` Tag4 string `protobuf:"bytes,10,opt,name=tag4,proto3" json:"tag4,omitempty"` Tag5 string `protobuf:"bytes,11,opt,name=tag5,proto3" json:"tag5,omitempty"` Tag6 string `protobuf:"bytes,12,opt,name=tag6,proto3" json:"tag6,omitempty"` Tag7 string `protobuf:"bytes,13,opt,name=tag7,proto3" json:"tag7,omitempty"` Tag8 string `protobuf:"bytes,14,opt,name=tag8,proto3" json:"tag8,omitempty"` Tag9 string `protobuf:"bytes,15,opt,name=tag9,proto3" json:"tag9,omitempty"` Tag10 string `protobuf:"bytes,16,opt,name=tag10,proto3" json:"tag10,omitempty"` NumViews uint32 `protobuf:"varint,17,opt,name=num_views,json=numViews,proto3" json:"num_views,omitempty"` NumMessages uint32 `protobuf:"varint,18,opt,name=num_messages,json=numMessages,proto3" json:"num_messages,omitempty"` WorkspaceId uint32 `protobuf:"varint,19,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"` UserId uint32 `protobuf:"varint,20,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UgroupId uint32 `protobuf:"varint,21,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"` Statusc uint32 `protobuf:"varint,22,opt,name=statusc,proto3" json:"statusc,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,23,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Messages []*Message `protobuf:"bytes,33,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*Channel) Descriptor
deprecated
func (*Channel) GetChannelDesc ¶
func (*Channel) GetChannelName ¶
func (*Channel) GetCreatedAt ¶
func (x *Channel) GetCreatedAt() *timestamppb.Timestamp
func (*Channel) GetMessages ¶
func (*Channel) GetNumMessages ¶
func (*Channel) GetNumTags ¶
func (*Channel) GetNumViews ¶
func (*Channel) GetStatusc ¶
func (*Channel) GetUgroupId ¶
func (*Channel) GetUpdatedAt ¶
func (x *Channel) GetUpdatedAt() *timestamppb.Timestamp
func (*Channel) GetWorkspaceId ¶
func (*Channel) ProtoMessage ¶
func (*Channel) ProtoMessage()
func (*Channel) ProtoReflect ¶
func (x *Channel) ProtoReflect() protoreflect.Message
type ChannelServiceClient ¶
type ChannelServiceClient interface { CreateChannel(ctx context.Context, in *CreateChannelRequest, opts ...grpc.CallOption) (*Channel, error) ShowChannel(ctx context.Context, in *GetChannelRequest, opts ...grpc.CallOption) (*Channel, error) GetChannelByPk(ctx context.Context, in *commonproto.GetByIdRequest, opts ...grpc.CallOption) (*Channel, error) GetChannel(ctx context.Context, in *commonproto.GetRequest, opts ...grpc.CallOption) (*Channel, error) GetChannelByName(ctx context.Context, in *GetChannelByNameRequest, opts ...grpc.CallOption) (*Channel, error) GetChannelWithMessages(ctx context.Context, in *commonproto.GetRequest, opts ...grpc.CallOption) (*Channel, error) GetChannelMessages(ctx context.Context, in *GetChannelMessagesRequest, opts ...grpc.CallOption) (*Channel, error) GetChannelsUser(ctx context.Context, in *GetChannelsUserRequest, opts ...grpc.CallOption) (*ChannelsUser, error) UpdateChannel(ctx context.Context, in *UpdateChannelRequest, opts ...grpc.CallOption) (*commonproto.Empty, error) DeleteChannel(ctx context.Context, in *commonproto.GetRequest, opts ...grpc.CallOption) (*commonproto.Empty, error) }
ChannelServiceClient is the client API for ChannelService 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 NewChannelServiceClient ¶
func NewChannelServiceClient(cc grpc.ClientConnInterface) ChannelServiceClient
type ChannelServiceServer ¶
type ChannelServiceServer interface { CreateChannel(context.Context, *CreateChannelRequest) (*Channel, error) ShowChannel(context.Context, *GetChannelRequest) (*Channel, error) GetChannelByPk(context.Context, *commonproto.GetByIdRequest) (*Channel, error) GetChannel(context.Context, *commonproto.GetRequest) (*Channel, error) GetChannelByName(context.Context, *GetChannelByNameRequest) (*Channel, error) GetChannelWithMessages(context.Context, *commonproto.GetRequest) (*Channel, error) GetChannelMessages(context.Context, *GetChannelMessagesRequest) (*Channel, error) GetChannelsUser(context.Context, *GetChannelsUserRequest) (*ChannelsUser, error) UpdateChannel(context.Context, *UpdateChannelRequest) (*commonproto.Empty, error) DeleteChannel(context.Context, *commonproto.GetRequest) (*commonproto.Empty, error) // contains filtered or unexported methods }
ChannelServiceServer is the server API for ChannelService service. All implementations must embed UnimplementedChannelServiceServer for forward compatibility
type ChannelsUser ¶
type ChannelsUser struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Uuid4 []byte `protobuf:"bytes,2,opt,name=uuid4,proto3" json:"uuid4,omitempty"` IdS string `protobuf:"bytes,3,opt,name=id_s,json=idS,proto3" json:"id_s,omitempty"` ChannelId uint32 `protobuf:"varint,4,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` NumMessages uint32 `protobuf:"varint,5,opt,name=num_messages,json=numMessages,proto3" json:"num_messages,omitempty"` NumViews uint32 `protobuf:"varint,6,opt,name=num_views,json=numViews,proto3" json:"num_views,omitempty"` UserId uint32 `protobuf:"varint,7,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UgroupId uint32 `protobuf:"varint,8,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"` Statusc uint32 `protobuf:"varint,9,opt,name=statusc,proto3" json:"statusc,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
ChannelsUser - ChannelsUser view representation
func (*ChannelsUser) Descriptor
deprecated
func (*ChannelsUser) Descriptor() ([]byte, []int)
Deprecated: Use ChannelsUser.ProtoReflect.Descriptor instead.
func (*ChannelsUser) GetChannelId ¶
func (x *ChannelsUser) GetChannelId() uint32
func (*ChannelsUser) GetCreatedAt ¶
func (x *ChannelsUser) GetCreatedAt() *timestamppb.Timestamp
func (*ChannelsUser) GetId ¶
func (x *ChannelsUser) GetId() uint32
func (*ChannelsUser) GetIdS ¶
func (x *ChannelsUser) GetIdS() string
func (*ChannelsUser) GetNumMessages ¶
func (x *ChannelsUser) GetNumMessages() uint32
func (*ChannelsUser) GetNumViews ¶
func (x *ChannelsUser) GetNumViews() uint32
func (*ChannelsUser) GetStatusc ¶
func (x *ChannelsUser) GetStatusc() uint32
func (*ChannelsUser) GetUgroupId ¶
func (x *ChannelsUser) GetUgroupId() uint32
func (*ChannelsUser) GetUpdatedAt ¶
func (x *ChannelsUser) GetUpdatedAt() *timestamppb.Timestamp
func (*ChannelsUser) GetUserId ¶
func (x *ChannelsUser) GetUserId() uint32
func (*ChannelsUser) GetUuid4 ¶
func (x *ChannelsUser) GetUuid4() []byte
func (*ChannelsUser) ProtoMessage ¶
func (*ChannelsUser) ProtoMessage()
func (*ChannelsUser) ProtoReflect ¶
func (x *ChannelsUser) ProtoReflect() protoreflect.Message
func (*ChannelsUser) Reset ¶
func (x *ChannelsUser) Reset()
func (*ChannelsUser) String ¶
func (x *ChannelsUser) String() string
type CreateChannelRequest ¶
type CreateChannelRequest struct { ChannelName string `protobuf:"bytes,1,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"` ChannelDesc string `protobuf:"bytes,2,opt,name=channel_desc,json=channelDesc,proto3" json:"channel_desc,omitempty"` NumTags uint32 `protobuf:"varint,3,opt,name=num_tags,json=numTags,proto3" json:"num_tags,omitempty"` Tag1 string `protobuf:"bytes,4,opt,name=tag1,proto3" json:"tag1,omitempty"` Tag2 string `protobuf:"bytes,5,opt,name=tag2,proto3" json:"tag2,omitempty"` Tag3 string `protobuf:"bytes,6,opt,name=tag3,proto3" json:"tag3,omitempty"` Tag4 string `protobuf:"bytes,7,opt,name=tag4,proto3" json:"tag4,omitempty"` Tag5 string `protobuf:"bytes,8,opt,name=tag5,proto3" json:"tag5,omitempty"` Tag6 string `protobuf:"bytes,9,opt,name=tag6,proto3" json:"tag6,omitempty"` Tag7 string `protobuf:"bytes,10,opt,name=tag7,proto3" json:"tag7,omitempty"` Tag8 string `protobuf:"bytes,11,opt,name=tag8,proto3" json:"tag8,omitempty"` Tag9 string `protobuf:"bytes,12,opt,name=tag9,proto3" json:"tag9,omitempty"` Tag10 string `protobuf:"bytes,13,opt,name=tag10,proto3" json:"tag10,omitempty"` WorkspaceId uint32 `protobuf:"varint,14,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"` UserId string `protobuf:"bytes,15,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UgroupId uint32 `protobuf:"varint,16,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"` UserEmail string `protobuf:"bytes,17,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` RequestId string `protobuf:"bytes,18,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` Mtext string `protobuf:"bytes,19,opt,name=Mtext,proto3" json:"Mtext,omitempty"` Mattach string `protobuf:"bytes,20,opt,name=Mattach,proto3" json:"Mattach,omitempty"` // contains filtered or unexported fields }
func (*CreateChannelRequest) Descriptor
deprecated
func (*CreateChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateChannelRequest.ProtoReflect.Descriptor instead.
func (*CreateChannelRequest) GetChannelDesc ¶
func (x *CreateChannelRequest) GetChannelDesc() string
func (*CreateChannelRequest) GetChannelName ¶
func (x *CreateChannelRequest) GetChannelName() string
func (*CreateChannelRequest) GetMattach ¶
func (x *CreateChannelRequest) GetMattach() string
func (*CreateChannelRequest) GetMtext ¶
func (x *CreateChannelRequest) GetMtext() string
func (*CreateChannelRequest) GetNumTags ¶
func (x *CreateChannelRequest) GetNumTags() uint32
func (*CreateChannelRequest) GetRequestId ¶
func (x *CreateChannelRequest) GetRequestId() string
func (*CreateChannelRequest) GetTag1 ¶
func (x *CreateChannelRequest) GetTag1() string
func (*CreateChannelRequest) GetTag10 ¶
func (x *CreateChannelRequest) GetTag10() string
func (*CreateChannelRequest) GetTag2 ¶
func (x *CreateChannelRequest) GetTag2() string
func (*CreateChannelRequest) GetTag3 ¶
func (x *CreateChannelRequest) GetTag3() string
func (*CreateChannelRequest) GetTag4 ¶
func (x *CreateChannelRequest) GetTag4() string
func (*CreateChannelRequest) GetTag5 ¶
func (x *CreateChannelRequest) GetTag5() string
func (*CreateChannelRequest) GetTag6 ¶
func (x *CreateChannelRequest) GetTag6() string
func (*CreateChannelRequest) GetTag7 ¶
func (x *CreateChannelRequest) GetTag7() string
func (*CreateChannelRequest) GetTag8 ¶
func (x *CreateChannelRequest) GetTag8() string
func (*CreateChannelRequest) GetTag9 ¶
func (x *CreateChannelRequest) GetTag9() string
func (*CreateChannelRequest) GetUgroupId ¶
func (x *CreateChannelRequest) GetUgroupId() uint32
func (*CreateChannelRequest) GetUserEmail ¶
func (x *CreateChannelRequest) GetUserEmail() string
func (*CreateChannelRequest) GetUserId ¶
func (x *CreateChannelRequest) GetUserId() string
func (*CreateChannelRequest) GetWorkspaceId ¶
func (x *CreateChannelRequest) GetWorkspaceId() uint32
func (*CreateChannelRequest) ProtoMessage ¶
func (*CreateChannelRequest) ProtoMessage()
func (*CreateChannelRequest) ProtoReflect ¶
func (x *CreateChannelRequest) ProtoReflect() protoreflect.Message
func (*CreateChannelRequest) Reset ¶
func (x *CreateChannelRequest) Reset()
func (*CreateChannelRequest) String ¶
func (x *CreateChannelRequest) String() string
type CreateMessageRequest ¶
type CreateMessageRequest struct { Mtext string `protobuf:"bytes,1,opt,name=mtext,proto3" json:"mtext,omitempty"` Mattach string `protobuf:"bytes,2,opt,name=mattach,proto3" json:"mattach,omitempty"` RplyMsg bool `protobuf:"varint,3,opt,name=rply_msg,json=rplyMsg,proto3" json:"rply_msg,omitempty"` WorkspaceId uint32 `protobuf:"varint,4,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"` ChannelId uint32 `protobuf:"varint,5,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` UserId string `protobuf:"bytes,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UgroupId uint32 `protobuf:"varint,7,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"` UserEmail string `protobuf:"bytes,8,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` RequestId string `protobuf:"bytes,9,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*CreateMessageRequest) Descriptor
deprecated
func (*CreateMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateMessageRequest.ProtoReflect.Descriptor instead.
func (*CreateMessageRequest) GetChannelId ¶
func (x *CreateMessageRequest) GetChannelId() uint32
func (*CreateMessageRequest) GetMattach ¶
func (x *CreateMessageRequest) GetMattach() string
func (*CreateMessageRequest) GetMtext ¶
func (x *CreateMessageRequest) GetMtext() string
func (*CreateMessageRequest) GetRequestId ¶
func (x *CreateMessageRequest) GetRequestId() string
func (*CreateMessageRequest) GetRplyMsg ¶
func (x *CreateMessageRequest) GetRplyMsg() bool
func (*CreateMessageRequest) GetUgroupId ¶
func (x *CreateMessageRequest) GetUgroupId() uint32
func (*CreateMessageRequest) GetUserEmail ¶
func (x *CreateMessageRequest) GetUserEmail() string
func (*CreateMessageRequest) GetUserId ¶
func (x *CreateMessageRequest) GetUserId() string
func (*CreateMessageRequest) GetWorkspaceId ¶
func (x *CreateMessageRequest) GetWorkspaceId() uint32
func (*CreateMessageRequest) ProtoMessage ¶
func (*CreateMessageRequest) ProtoMessage()
func (*CreateMessageRequest) ProtoReflect ¶
func (x *CreateMessageRequest) ProtoReflect() protoreflect.Message
func (*CreateMessageRequest) Reset ¶
func (x *CreateMessageRequest) Reset()
func (*CreateMessageRequest) String ¶
func (x *CreateMessageRequest) String() string
type CreateWorkspaceRequest ¶
type CreateWorkspaceRequest struct { WorkspaceName string `protobuf:"bytes,1,opt,name=workspace_name,json=workspaceName,proto3" json:"workspace_name,omitempty"` WorkspaceDesc string `protobuf:"bytes,2,opt,name=workspace_desc,json=workspaceDesc,proto3" json:"workspace_desc,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` ParentId uint32 `protobuf:"varint,16,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` UserEmail string `protobuf:"bytes,4,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*CreateWorkspaceRequest) Descriptor
deprecated
func (*CreateWorkspaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWorkspaceRequest.ProtoReflect.Descriptor instead.
func (*CreateWorkspaceRequest) GetParentId ¶
func (x *CreateWorkspaceRequest) GetParentId() uint32
func (*CreateWorkspaceRequest) GetRequestId ¶
func (x *CreateWorkspaceRequest) GetRequestId() string
func (*CreateWorkspaceRequest) GetUserEmail ¶
func (x *CreateWorkspaceRequest) GetUserEmail() string
func (*CreateWorkspaceRequest) GetUserId ¶
func (x *CreateWorkspaceRequest) GetUserId() string
func (*CreateWorkspaceRequest) GetWorkspaceDesc ¶
func (x *CreateWorkspaceRequest) GetWorkspaceDesc() string
func (*CreateWorkspaceRequest) GetWorkspaceName ¶
func (x *CreateWorkspaceRequest) GetWorkspaceName() string
func (*CreateWorkspaceRequest) ProtoMessage ¶
func (*CreateWorkspaceRequest) ProtoMessage()
func (*CreateWorkspaceRequest) ProtoReflect ¶
func (x *CreateWorkspaceRequest) ProtoReflect() protoreflect.Message
func (*CreateWorkspaceRequest) Reset ¶
func (x *CreateWorkspaceRequest) Reset()
func (*CreateWorkspaceRequest) String ¶
func (x *CreateWorkspaceRequest) String() string
type GetChannelByNameRequest ¶
type GetChannelByNameRequest struct { ChannelName string `protobuf:"bytes,1,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"` UserEmail string `protobuf:"bytes,2,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*GetChannelByNameRequest) Descriptor
deprecated
func (*GetChannelByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChannelByNameRequest.ProtoReflect.Descriptor instead.
func (*GetChannelByNameRequest) GetChannelName ¶
func (x *GetChannelByNameRequest) GetChannelName() string
func (*GetChannelByNameRequest) GetRequestId ¶
func (x *GetChannelByNameRequest) GetRequestId() string
func (*GetChannelByNameRequest) GetUserEmail ¶
func (x *GetChannelByNameRequest) GetUserEmail() string
func (*GetChannelByNameRequest) ProtoMessage ¶
func (*GetChannelByNameRequest) ProtoMessage()
func (*GetChannelByNameRequest) ProtoReflect ¶
func (x *GetChannelByNameRequest) ProtoReflect() protoreflect.Message
func (*GetChannelByNameRequest) Reset ¶
func (x *GetChannelByNameRequest) Reset()
func (*GetChannelByNameRequest) String ¶
func (x *GetChannelByNameRequest) String() string
type GetChannelMessagesRequest ¶
type GetChannelMessagesRequest struct { Uuid4Byte []byte `protobuf:"bytes,2,opt,name=uuid4_byte,json=uuid4Byte,proto3" json:"uuid4_byte,omitempty"` UserEmail string `protobuf:"bytes,3,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*GetChannelMessagesRequest) Descriptor
deprecated
func (*GetChannelMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChannelMessagesRequest.ProtoReflect.Descriptor instead.
func (*GetChannelMessagesRequest) GetRequestId ¶
func (x *GetChannelMessagesRequest) GetRequestId() string
func (*GetChannelMessagesRequest) GetUserEmail ¶
func (x *GetChannelMessagesRequest) GetUserEmail() string
func (*GetChannelMessagesRequest) GetUuid4Byte ¶
func (x *GetChannelMessagesRequest) GetUuid4Byte() []byte
func (*GetChannelMessagesRequest) ProtoMessage ¶
func (*GetChannelMessagesRequest) ProtoMessage()
func (*GetChannelMessagesRequest) ProtoReflect ¶
func (x *GetChannelMessagesRequest) ProtoReflect() protoreflect.Message
func (*GetChannelMessagesRequest) Reset ¶
func (x *GetChannelMessagesRequest) Reset()
func (*GetChannelMessagesRequest) String ¶
func (x *GetChannelMessagesRequest) String() string
type GetChannelRequest ¶
type GetChannelRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UserEmail string `protobuf:"bytes,3,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*GetChannelRequest) Descriptor
deprecated
func (*GetChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChannelRequest.ProtoReflect.Descriptor instead.
func (*GetChannelRequest) GetId ¶
func (x *GetChannelRequest) GetId() string
func (*GetChannelRequest) GetRequestId ¶
func (x *GetChannelRequest) GetRequestId() string
func (*GetChannelRequest) GetUserEmail ¶
func (x *GetChannelRequest) GetUserEmail() string
func (*GetChannelRequest) GetUserId ¶
func (x *GetChannelRequest) GetUserId() string
func (*GetChannelRequest) ProtoMessage ¶
func (*GetChannelRequest) ProtoMessage()
func (*GetChannelRequest) ProtoReflect ¶
func (x *GetChannelRequest) ProtoReflect() protoreflect.Message
func (*GetChannelRequest) Reset ¶
func (x *GetChannelRequest) Reset()
func (*GetChannelRequest) String ¶
func (x *GetChannelRequest) String() string
type GetChannelsUserRequest ¶
type GetChannelsUserRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` UserId uint32 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UserEmail string `protobuf:"bytes,3,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*GetChannelsUserRequest) Descriptor
deprecated
func (*GetChannelsUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChannelsUserRequest.ProtoReflect.Descriptor instead.
func (*GetChannelsUserRequest) GetId ¶
func (x *GetChannelsUserRequest) GetId() uint32
func (*GetChannelsUserRequest) GetRequestId ¶
func (x *GetChannelsUserRequest) GetRequestId() string
func (*GetChannelsUserRequest) GetUserEmail ¶
func (x *GetChannelsUserRequest) GetUserEmail() string
func (*GetChannelsUserRequest) GetUserId ¶
func (x *GetChannelsUserRequest) GetUserId() uint32
func (*GetChannelsUserRequest) ProtoMessage ¶
func (*GetChannelsUserRequest) ProtoMessage()
func (*GetChannelsUserRequest) ProtoReflect ¶
func (x *GetChannelsUserRequest) ProtoReflect() protoreflect.Message
func (*GetChannelsUserRequest) Reset ¶
func (x *GetChannelsUserRequest) Reset()
func (*GetChannelsUserRequest) String ¶
func (x *GetChannelsUserRequest) String() string
type GetMessagesTextsRequest ¶
type GetMessagesTextsRequest struct { MessageId uint32 `protobuf:"varint,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` UserEmail string `protobuf:"bytes,2,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*GetMessagesTextsRequest) Descriptor
deprecated
func (*GetMessagesTextsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMessagesTextsRequest.ProtoReflect.Descriptor instead.
func (*GetMessagesTextsRequest) GetMessageId ¶
func (x *GetMessagesTextsRequest) GetMessageId() uint32
func (*GetMessagesTextsRequest) GetRequestId ¶
func (x *GetMessagesTextsRequest) GetRequestId() string
func (*GetMessagesTextsRequest) GetUserEmail ¶
func (x *GetMessagesTextsRequest) GetUserEmail() string
func (*GetMessagesTextsRequest) ProtoMessage ¶
func (*GetMessagesTextsRequest) ProtoMessage()
func (*GetMessagesTextsRequest) ProtoReflect ¶
func (x *GetMessagesTextsRequest) ProtoReflect() protoreflect.Message
func (*GetMessagesTextsRequest) Reset ¶
func (x *GetMessagesTextsRequest) Reset()
func (*GetMessagesTextsRequest) String ¶
func (x *GetMessagesTextsRequest) String() string
type GetMessagesWithTextAttachRequest ¶
type GetMessagesWithTextAttachRequest struct { Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` UserEmail string `protobuf:"bytes,5,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` RequestId string `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*GetMessagesWithTextAttachRequest) Descriptor
deprecated
func (*GetMessagesWithTextAttachRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMessagesWithTextAttachRequest.ProtoReflect.Descriptor instead.
func (*GetMessagesWithTextAttachRequest) GetMessages ¶
func (x *GetMessagesWithTextAttachRequest) GetMessages() []*Message
func (*GetMessagesWithTextAttachRequest) GetRequestId ¶
func (x *GetMessagesWithTextAttachRequest) GetRequestId() string
func (*GetMessagesWithTextAttachRequest) GetUserEmail ¶
func (x *GetMessagesWithTextAttachRequest) GetUserEmail() string
func (*GetMessagesWithTextAttachRequest) ProtoMessage ¶
func (*GetMessagesWithTextAttachRequest) ProtoMessage()
func (*GetMessagesWithTextAttachRequest) ProtoReflect ¶
func (x *GetMessagesWithTextAttachRequest) ProtoReflect() protoreflect.Message
func (*GetMessagesWithTextAttachRequest) Reset ¶
func (x *GetMessagesWithTextAttachRequest) Reset()
func (*GetMessagesWithTextAttachRequest) String ¶
func (x *GetMessagesWithTextAttachRequest) String() string
type GetTopLevelWorkspacesRequest ¶
type GetTopLevelWorkspacesRequest struct { UserEmail string `protobuf:"bytes,2,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*GetTopLevelWorkspacesRequest) Descriptor
deprecated
func (*GetTopLevelWorkspacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTopLevelWorkspacesRequest.ProtoReflect.Descriptor instead.
func (*GetTopLevelWorkspacesRequest) GetRequestId ¶
func (x *GetTopLevelWorkspacesRequest) GetRequestId() string
func (*GetTopLevelWorkspacesRequest) GetUserEmail ¶
func (x *GetTopLevelWorkspacesRequest) GetUserEmail() string
func (*GetTopLevelWorkspacesRequest) ProtoMessage ¶
func (*GetTopLevelWorkspacesRequest) ProtoMessage()
func (*GetTopLevelWorkspacesRequest) ProtoReflect ¶
func (x *GetTopLevelWorkspacesRequest) ProtoReflect() protoreflect.Message
func (*GetTopLevelWorkspacesRequest) Reset ¶
func (x *GetTopLevelWorkspacesRequest) Reset()
func (*GetTopLevelWorkspacesRequest) String ¶
func (x *GetTopLevelWorkspacesRequest) String() string
type GetWorkspacesRequest ¶
type GetWorkspacesRequest struct { Limit string `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"` NextCursor string `protobuf:"bytes,2,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"` UserEmail string `protobuf:"bytes,3,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*GetWorkspacesRequest) Descriptor
deprecated
func (*GetWorkspacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWorkspacesRequest.ProtoReflect.Descriptor instead.
func (*GetWorkspacesRequest) GetLimit ¶
func (x *GetWorkspacesRequest) GetLimit() string
func (*GetWorkspacesRequest) GetNextCursor ¶
func (x *GetWorkspacesRequest) GetNextCursor() string
func (*GetWorkspacesRequest) GetRequestId ¶
func (x *GetWorkspacesRequest) GetRequestId() string
func (*GetWorkspacesRequest) GetUserEmail ¶
func (x *GetWorkspacesRequest) GetUserEmail() string
func (*GetWorkspacesRequest) ProtoMessage ¶
func (*GetWorkspacesRequest) ProtoMessage()
func (*GetWorkspacesRequest) ProtoReflect ¶
func (x *GetWorkspacesRequest) ProtoReflect() protoreflect.Message
func (*GetWorkspacesRequest) Reset ¶
func (x *GetWorkspacesRequest) Reset()
func (*GetWorkspacesRequest) String ¶
func (x *GetWorkspacesRequest) String() string
type Message ¶
type Message struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Uuid4 []byte `protobuf:"bytes,2,opt,name=uuid4,proto3" json:"uuid4,omitempty"` IdS string `protobuf:"bytes,3,opt,name=id_s,json=idS,proto3" json:"id_s,omitempty"` NumLikes uint32 `protobuf:"varint,4,opt,name=num_likes,json=numLikes,proto3" json:"num_likes,omitempty"` NumUpvotes uint32 `protobuf:"varint,5,opt,name=num_upvotes,json=numUpvotes,proto3" json:"num_upvotes,omitempty"` NumDownvotes uint32 `protobuf:"varint,6,opt,name=num_downvotes,json=numDownvotes,proto3" json:"num_downvotes,omitempty"` WorkspaceId uint32 `protobuf:"varint,7,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"` ChannelId uint32 `protobuf:"varint,8,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` UserId uint32 `protobuf:"varint,9,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UgroupId uint32 `protobuf:"varint,10,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"` Statusc uint32 `protobuf:"varint,11,opt,name=statusc,proto3" json:"statusc,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` MessageTexts []*MessageText `protobuf:"bytes,22,rep,name=message_texts,json=messageTexts,proto3" json:"message_texts,omitempty"` MessageAttachments []*MessageAttachment `protobuf:"bytes,23,rep,name=message_attachments,json=messageAttachments,proto3" json:"message_attachments,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetChannelId ¶
func (*Message) GetCreatedAt ¶
func (x *Message) GetCreatedAt() *timestamppb.Timestamp
func (*Message) GetMessageAttachments ¶
func (x *Message) GetMessageAttachments() []*MessageAttachment
func (*Message) GetMessageTexts ¶
func (x *Message) GetMessageTexts() []*MessageText
func (*Message) GetNumDownvotes ¶
func (*Message) GetNumLikes ¶
func (*Message) GetNumUpvotes ¶
func (*Message) GetStatusc ¶
func (*Message) GetUgroupId ¶
func (*Message) GetUpdatedAt ¶
func (x *Message) GetUpdatedAt() *timestamppb.Timestamp
func (*Message) GetWorkspaceId ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type MessageAttachment ¶
type MessageAttachment struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Uuid4 []byte `protobuf:"bytes,2,opt,name=uuid4,proto3" json:"uuid4,omitempty"` Mattach string `protobuf:"bytes,3,opt,name=mattach,proto3" json:"mattach,omitempty"` WorkspaceId uint32 `protobuf:"varint,4,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"` ChannelId uint32 `protobuf:"varint,5,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` MessageId uint32 `protobuf:"varint,6,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` UserId uint32 `protobuf:"varint,7,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UgroupId uint32 `protobuf:"varint,8,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"` Statusc uint32 `protobuf:"varint,9,opt,name=statusc,proto3" json:"statusc,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
MessageAttachment - MessageAttachment view representation
func (*MessageAttachment) Descriptor
deprecated
func (*MessageAttachment) Descriptor() ([]byte, []int)
Deprecated: Use MessageAttachment.ProtoReflect.Descriptor instead.
func (*MessageAttachment) GetChannelId ¶
func (x *MessageAttachment) GetChannelId() uint32
func (*MessageAttachment) GetCreatedAt ¶
func (x *MessageAttachment) GetCreatedAt() *timestamppb.Timestamp
func (*MessageAttachment) GetId ¶
func (x *MessageAttachment) GetId() uint32
func (*MessageAttachment) GetMattach ¶
func (x *MessageAttachment) GetMattach() string
func (*MessageAttachment) GetMessageId ¶
func (x *MessageAttachment) GetMessageId() uint32
func (*MessageAttachment) GetStatusc ¶
func (x *MessageAttachment) GetStatusc() uint32
func (*MessageAttachment) GetUgroupId ¶
func (x *MessageAttachment) GetUgroupId() uint32
func (*MessageAttachment) GetUpdatedAt ¶
func (x *MessageAttachment) GetUpdatedAt() *timestamppb.Timestamp
func (*MessageAttachment) GetUserId ¶
func (x *MessageAttachment) GetUserId() uint32
func (*MessageAttachment) GetUuid4 ¶
func (x *MessageAttachment) GetUuid4() []byte
func (*MessageAttachment) GetWorkspaceId ¶
func (x *MessageAttachment) GetWorkspaceId() uint32
func (*MessageAttachment) ProtoMessage ¶
func (*MessageAttachment) ProtoMessage()
func (*MessageAttachment) ProtoReflect ¶
func (x *MessageAttachment) ProtoReflect() protoreflect.Message
func (*MessageAttachment) Reset ¶
func (x *MessageAttachment) Reset()
func (*MessageAttachment) String ¶
func (x *MessageAttachment) String() string
type MessageAttachments ¶
type MessageAttachments struct { MessageAttachments []*MessageAttachment `protobuf:"bytes,1,rep,name=message_attachments,json=messageAttachments,proto3" json:"message_attachments,omitempty"` // contains filtered or unexported fields }
func (*MessageAttachments) Descriptor
deprecated
func (*MessageAttachments) Descriptor() ([]byte, []int)
Deprecated: Use MessageAttachments.ProtoReflect.Descriptor instead.
func (*MessageAttachments) GetMessageAttachments ¶
func (x *MessageAttachments) GetMessageAttachments() []*MessageAttachment
func (*MessageAttachments) ProtoMessage ¶
func (*MessageAttachments) ProtoMessage()
func (*MessageAttachments) ProtoReflect ¶
func (x *MessageAttachments) ProtoReflect() protoreflect.Message
func (*MessageAttachments) Reset ¶
func (x *MessageAttachments) Reset()
func (*MessageAttachments) String ¶
func (x *MessageAttachments) String() string
type MessageServiceClient ¶
type MessageServiceClient interface { CreateMessage(ctx context.Context, in *CreateMessageRequest, opts ...grpc.CallOption) (*Message, error) CreateUserLike(ctx context.Context, in *UserLikeRequest, opts ...grpc.CallOption) (*UserLike, error) CreateUserVote(ctx context.Context, in *UserVoteRequest, opts ...grpc.CallOption) (*UserVote, error) GetMessage(ctx context.Context, in *commonproto.GetRequest, opts ...grpc.CallOption) (*Message, error) GetMessagesWithTextAttach(ctx context.Context, in *GetMessagesWithTextAttachRequest, opts ...grpc.CallOption) (*Messages, error) GetMessagesTexts(ctx context.Context, in *GetMessagesTextsRequest, opts ...grpc.CallOption) (*MessageTexts, error) GetMessageAttachments(ctx context.Context, in *GetMessagesTextsRequest, opts ...grpc.CallOption) (*MessageAttachments, error) UpdateMessage(ctx context.Context, in *UpdateMessageRequest, opts ...grpc.CallOption) (*commonproto.Empty, error) DeleteMessage(ctx context.Context, in *commonproto.GetRequest, opts ...grpc.CallOption) (*commonproto.Empty, error) }
MessageServiceClient is the client API for MessageService 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 NewMessageServiceClient ¶
func NewMessageServiceClient(cc grpc.ClientConnInterface) MessageServiceClient
type MessageServiceServer ¶
type MessageServiceServer interface { CreateMessage(context.Context, *CreateMessageRequest) (*Message, error) CreateUserLike(context.Context, *UserLikeRequest) (*UserLike, error) CreateUserVote(context.Context, *UserVoteRequest) (*UserVote, error) GetMessage(context.Context, *commonproto.GetRequest) (*Message, error) GetMessagesWithTextAttach(context.Context, *GetMessagesWithTextAttachRequest) (*Messages, error) GetMessagesTexts(context.Context, *GetMessagesTextsRequest) (*MessageTexts, error) GetMessageAttachments(context.Context, *GetMessagesTextsRequest) (*MessageAttachments, error) UpdateMessage(context.Context, *UpdateMessageRequest) (*commonproto.Empty, error) DeleteMessage(context.Context, *commonproto.GetRequest) (*commonproto.Empty, error) // contains filtered or unexported methods }
MessageServiceServer is the server API for MessageService service. All implementations must embed UnimplementedMessageServiceServer for forward compatibility
type MessageText ¶
type MessageText struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Uuid4 []byte `protobuf:"bytes,2,opt,name=uuid4,proto3" json:"uuid4,omitempty"` Mtext string `protobuf:"bytes,3,opt,name=mtext,proto3" json:"mtext,omitempty"` WorkspaceId uint32 `protobuf:"varint,4,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"` ChannelId uint32 `protobuf:"varint,5,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` MessageId uint32 `protobuf:"varint,6,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` UserId uint32 `protobuf:"varint,7,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UgroupId uint32 `protobuf:"varint,8,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"` Statusc uint32 `protobuf:"varint,9,opt,name=statusc,proto3" json:"statusc,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
MessageText - MessageText view representation
func (*MessageText) Descriptor
deprecated
func (*MessageText) Descriptor() ([]byte, []int)
Deprecated: Use MessageText.ProtoReflect.Descriptor instead.
func (*MessageText) GetChannelId ¶
func (x *MessageText) GetChannelId() uint32
func (*MessageText) GetCreatedAt ¶
func (x *MessageText) GetCreatedAt() *timestamppb.Timestamp
func (*MessageText) GetId ¶
func (x *MessageText) GetId() uint32
func (*MessageText) GetMessageId ¶
func (x *MessageText) GetMessageId() uint32
func (*MessageText) GetMtext ¶
func (x *MessageText) GetMtext() string
func (*MessageText) GetStatusc ¶
func (x *MessageText) GetStatusc() uint32
func (*MessageText) GetUgroupId ¶
func (x *MessageText) GetUgroupId() uint32
func (*MessageText) GetUpdatedAt ¶
func (x *MessageText) GetUpdatedAt() *timestamppb.Timestamp
func (*MessageText) GetUserId ¶
func (x *MessageText) GetUserId() uint32
func (*MessageText) GetUuid4 ¶
func (x *MessageText) GetUuid4() []byte
func (*MessageText) GetWorkspaceId ¶
func (x *MessageText) GetWorkspaceId() uint32
func (*MessageText) ProtoMessage ¶
func (*MessageText) ProtoMessage()
func (*MessageText) ProtoReflect ¶
func (x *MessageText) ProtoReflect() protoreflect.Message
func (*MessageText) Reset ¶
func (x *MessageText) Reset()
func (*MessageText) String ¶
func (x *MessageText) String() string
type MessageTexts ¶
type MessageTexts struct { MessageTexts []*MessageText `protobuf:"bytes,1,rep,name=message_texts,json=messageTexts,proto3" json:"message_texts,omitempty"` // contains filtered or unexported fields }
func (*MessageTexts) Descriptor
deprecated
func (*MessageTexts) Descriptor() ([]byte, []int)
Deprecated: Use MessageTexts.ProtoReflect.Descriptor instead.
func (*MessageTexts) GetMessageTexts ¶
func (x *MessageTexts) GetMessageTexts() []*MessageText
func (*MessageTexts) ProtoMessage ¶
func (*MessageTexts) ProtoMessage()
func (*MessageTexts) ProtoReflect ¶
func (x *MessageTexts) ProtoReflect() protoreflect.Message
func (*MessageTexts) Reset ¶
func (x *MessageTexts) Reset()
func (*MessageTexts) String ¶
func (x *MessageTexts) String() string
type Messages ¶
type Messages struct { Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*Messages) Descriptor
deprecated
func (*Messages) GetMessages ¶
func (*Messages) ProtoMessage ¶
func (*Messages) ProtoMessage()
func (*Messages) ProtoReflect ¶
func (x *Messages) ProtoReflect() protoreflect.Message
type UnimplementedChannelServiceServer ¶
type UnimplementedChannelServiceServer struct { }
UnimplementedChannelServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedChannelServiceServer) CreateChannel ¶
func (UnimplementedChannelServiceServer) CreateChannel(context.Context, *CreateChannelRequest) (*Channel, error)
func (UnimplementedChannelServiceServer) DeleteChannel ¶
func (UnimplementedChannelServiceServer) DeleteChannel(context.Context, *commonproto.GetRequest) (*commonproto.Empty, error)
func (UnimplementedChannelServiceServer) GetChannel ¶
func (UnimplementedChannelServiceServer) GetChannel(context.Context, *commonproto.GetRequest) (*Channel, error)
func (UnimplementedChannelServiceServer) GetChannelByName ¶
func (UnimplementedChannelServiceServer) GetChannelByName(context.Context, *GetChannelByNameRequest) (*Channel, error)
func (UnimplementedChannelServiceServer) GetChannelByPk ¶
func (UnimplementedChannelServiceServer) GetChannelByPk(context.Context, *commonproto.GetByIdRequest) (*Channel, error)
func (UnimplementedChannelServiceServer) GetChannelMessages ¶
func (UnimplementedChannelServiceServer) GetChannelMessages(context.Context, *GetChannelMessagesRequest) (*Channel, error)
func (UnimplementedChannelServiceServer) GetChannelWithMessages ¶
func (UnimplementedChannelServiceServer) GetChannelWithMessages(context.Context, *commonproto.GetRequest) (*Channel, error)
func (UnimplementedChannelServiceServer) GetChannelsUser ¶
func (UnimplementedChannelServiceServer) GetChannelsUser(context.Context, *GetChannelsUserRequest) (*ChannelsUser, error)
func (UnimplementedChannelServiceServer) ShowChannel ¶
func (UnimplementedChannelServiceServer) ShowChannel(context.Context, *GetChannelRequest) (*Channel, error)
func (UnimplementedChannelServiceServer) UpdateChannel ¶
func (UnimplementedChannelServiceServer) UpdateChannel(context.Context, *UpdateChannelRequest) (*commonproto.Empty, error)
type UnimplementedMessageServiceServer ¶
type UnimplementedMessageServiceServer struct { }
UnimplementedMessageServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMessageServiceServer) CreateMessage ¶
func (UnimplementedMessageServiceServer) CreateMessage(context.Context, *CreateMessageRequest) (*Message, error)
func (UnimplementedMessageServiceServer) CreateUserLike ¶
func (UnimplementedMessageServiceServer) CreateUserLike(context.Context, *UserLikeRequest) (*UserLike, error)
func (UnimplementedMessageServiceServer) CreateUserVote ¶
func (UnimplementedMessageServiceServer) CreateUserVote(context.Context, *UserVoteRequest) (*UserVote, error)
func (UnimplementedMessageServiceServer) DeleteMessage ¶
func (UnimplementedMessageServiceServer) DeleteMessage(context.Context, *commonproto.GetRequest) (*commonproto.Empty, error)
func (UnimplementedMessageServiceServer) GetMessage ¶
func (UnimplementedMessageServiceServer) GetMessage(context.Context, *commonproto.GetRequest) (*Message, error)
func (UnimplementedMessageServiceServer) GetMessageAttachments ¶
func (UnimplementedMessageServiceServer) GetMessageAttachments(context.Context, *GetMessagesTextsRequest) (*MessageAttachments, error)
func (UnimplementedMessageServiceServer) GetMessagesTexts ¶
func (UnimplementedMessageServiceServer) GetMessagesTexts(context.Context, *GetMessagesTextsRequest) (*MessageTexts, error)
func (UnimplementedMessageServiceServer) GetMessagesWithTextAttach ¶
func (UnimplementedMessageServiceServer) GetMessagesWithTextAttach(context.Context, *GetMessagesWithTextAttachRequest) (*Messages, error)
func (UnimplementedMessageServiceServer) UpdateMessage ¶
func (UnimplementedMessageServiceServer) UpdateMessage(context.Context, *UpdateMessageRequest) (*commonproto.Empty, error)
type UnimplementedWorkspaceServiceServer ¶
type UnimplementedWorkspaceServiceServer struct { }
UnimplementedWorkspaceServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedWorkspaceServiceServer) CreateChild ¶
func (UnimplementedWorkspaceServiceServer) CreateChild(context.Context, *CreateWorkspaceRequest) (*Workspace, error)
func (UnimplementedWorkspaceServiceServer) CreateWorkspace ¶
func (UnimplementedWorkspaceServiceServer) CreateWorkspace(context.Context, *CreateWorkspaceRequest) (*Workspace, error)
func (UnimplementedWorkspaceServiceServer) DeleteWorkspace ¶
func (UnimplementedWorkspaceServiceServer) DeleteWorkspace(context.Context, *commonproto.GetRequest) (*commonproto.Empty, error)
func (UnimplementedWorkspaceServiceServer) GetChildWorkspaces ¶
func (UnimplementedWorkspaceServiceServer) GetChildWorkspaces(context.Context, *commonproto.GetRequest) (*Workspaces, error)
func (UnimplementedWorkspaceServiceServer) GetParentWorkspace ¶
func (UnimplementedWorkspaceServiceServer) GetParentWorkspace(context.Context, *commonproto.GetRequest) (*Workspace, error)
func (UnimplementedWorkspaceServiceServer) GetTopLevelWorkspaces ¶
func (UnimplementedWorkspaceServiceServer) GetTopLevelWorkspaces(context.Context, *GetTopLevelWorkspacesRequest) (*Workspaces, error)
func (UnimplementedWorkspaceServiceServer) GetWorkspace ¶
func (UnimplementedWorkspaceServiceServer) GetWorkspace(context.Context, *commonproto.GetRequest) (*Workspace, error)
func (UnimplementedWorkspaceServiceServer) GetWorkspaceByPk ¶
func (UnimplementedWorkspaceServiceServer) GetWorkspaceByPk(context.Context, *commonproto.GetByIdRequest) (*Workspace, error)
func (UnimplementedWorkspaceServiceServer) GetWorkspaceWithChannels ¶
func (UnimplementedWorkspaceServiceServer) GetWorkspaceWithChannels(context.Context, *commonproto.GetRequest) (*Workspace, error)
func (UnimplementedWorkspaceServiceServer) GetWorkspaces ¶
func (UnimplementedWorkspaceServiceServer) GetWorkspaces(context.Context, *GetWorkspacesRequest) (*WorkspaceCursor, error)
func (UnimplementedWorkspaceServiceServer) UpdateWorkspace ¶
func (UnimplementedWorkspaceServiceServer) UpdateWorkspace(context.Context, *UpdateWorkspaceRequest) (*commonproto.Empty, error)
type UnsafeChannelServiceServer ¶
type UnsafeChannelServiceServer interface {
// contains filtered or unexported methods
}
UnsafeChannelServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChannelServiceServer will result in compilation errors.
type UnsafeMessageServiceServer ¶
type UnsafeMessageServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMessageServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MessageServiceServer will result in compilation errors.
type UnsafeWorkspaceServiceServer ¶
type UnsafeWorkspaceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeWorkspaceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WorkspaceServiceServer will result in compilation errors.
type UpdateChannelRequest ¶
type UpdateChannelRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ChannelName string `protobuf:"bytes,2,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"` ChannelDesc string `protobuf:"bytes,3,opt,name=channel_desc,json=channelDesc,proto3" json:"channel_desc,omitempty"` UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UserEmail string `protobuf:"bytes,5,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` RequestId string `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateChannelRequest) Descriptor
deprecated
func (*UpdateChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateChannelRequest.ProtoReflect.Descriptor instead.
func (*UpdateChannelRequest) GetChannelDesc ¶
func (x *UpdateChannelRequest) GetChannelDesc() string
func (*UpdateChannelRequest) GetChannelName ¶
func (x *UpdateChannelRequest) GetChannelName() string
func (*UpdateChannelRequest) GetId ¶
func (x *UpdateChannelRequest) GetId() string
func (*UpdateChannelRequest) GetRequestId ¶
func (x *UpdateChannelRequest) GetRequestId() string
func (*UpdateChannelRequest) GetUserEmail ¶
func (x *UpdateChannelRequest) GetUserEmail() string
func (*UpdateChannelRequest) GetUserId ¶
func (x *UpdateChannelRequest) GetUserId() string
func (*UpdateChannelRequest) ProtoMessage ¶
func (*UpdateChannelRequest) ProtoMessage()
func (*UpdateChannelRequest) ProtoReflect ¶
func (x *UpdateChannelRequest) ProtoReflect() protoreflect.Message
func (*UpdateChannelRequest) Reset ¶
func (x *UpdateChannelRequest) Reset()
func (*UpdateChannelRequest) String ¶
func (x *UpdateChannelRequest) String() string
type UpdateMessageRequest ¶
type UpdateMessageRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Mtext string `protobuf:"bytes,2,opt,name=mtext,proto3" json:"mtext,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UserEmail string `protobuf:"bytes,4,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateMessageRequest) Descriptor
deprecated
func (*UpdateMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMessageRequest.ProtoReflect.Descriptor instead.
func (*UpdateMessageRequest) GetId ¶
func (x *UpdateMessageRequest) GetId() string
func (*UpdateMessageRequest) GetMtext ¶
func (x *UpdateMessageRequest) GetMtext() string
func (*UpdateMessageRequest) GetRequestId ¶
func (x *UpdateMessageRequest) GetRequestId() string
func (*UpdateMessageRequest) GetUserEmail ¶
func (x *UpdateMessageRequest) GetUserEmail() string
func (*UpdateMessageRequest) GetUserId ¶
func (x *UpdateMessageRequest) GetUserId() string
func (*UpdateMessageRequest) ProtoMessage ¶
func (*UpdateMessageRequest) ProtoMessage()
func (*UpdateMessageRequest) ProtoReflect ¶
func (x *UpdateMessageRequest) ProtoReflect() protoreflect.Message
func (*UpdateMessageRequest) Reset ¶
func (x *UpdateMessageRequest) Reset()
func (*UpdateMessageRequest) String ¶
func (x *UpdateMessageRequest) String() string
type UpdateWorkspaceRequest ¶
type UpdateWorkspaceRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` WorkspaceName string `protobuf:"bytes,2,opt,name=workspace_name,json=workspaceName,proto3" json:"workspace_name,omitempty"` WorkspaceDesc string `protobuf:"bytes,3,opt,name=workspace_desc,json=workspaceDesc,proto3" json:"workspace_desc,omitempty"` UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UserEmail string `protobuf:"bytes,5,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` RequestId string `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateWorkspaceRequest) Descriptor
deprecated
func (*UpdateWorkspaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWorkspaceRequest.ProtoReflect.Descriptor instead.
func (*UpdateWorkspaceRequest) GetId ¶
func (x *UpdateWorkspaceRequest) GetId() string
func (*UpdateWorkspaceRequest) GetRequestId ¶
func (x *UpdateWorkspaceRequest) GetRequestId() string
func (*UpdateWorkspaceRequest) GetUserEmail ¶
func (x *UpdateWorkspaceRequest) GetUserEmail() string
func (*UpdateWorkspaceRequest) GetUserId ¶
func (x *UpdateWorkspaceRequest) GetUserId() string
func (*UpdateWorkspaceRequest) GetWorkspaceDesc ¶
func (x *UpdateWorkspaceRequest) GetWorkspaceDesc() string
func (*UpdateWorkspaceRequest) GetWorkspaceName ¶
func (x *UpdateWorkspaceRequest) GetWorkspaceName() string
func (*UpdateWorkspaceRequest) ProtoMessage ¶
func (*UpdateWorkspaceRequest) ProtoMessage()
func (*UpdateWorkspaceRequest) ProtoReflect ¶
func (x *UpdateWorkspaceRequest) ProtoReflect() protoreflect.Message
func (*UpdateWorkspaceRequest) Reset ¶
func (x *UpdateWorkspaceRequest) Reset()
func (*UpdateWorkspaceRequest) String ¶
func (x *UpdateWorkspaceRequest) String() string
type UserChannel ¶
type UserChannel struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Uuid4 []byte `protobuf:"bytes,2,opt,name=uuid4,proto3" json:"uuid4,omitempty"` ChannelId uint32 `protobuf:"varint,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` UserId uint32 `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UgroupId uint32 `protobuf:"varint,5,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"` Statusc uint32 `protobuf:"varint,6,opt,name=statusc,proto3" json:"statusc,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
UserChannel - UserChannel view representation
func (*UserChannel) Descriptor
deprecated
func (*UserChannel) Descriptor() ([]byte, []int)
Deprecated: Use UserChannel.ProtoReflect.Descriptor instead.
func (*UserChannel) GetChannelId ¶
func (x *UserChannel) GetChannelId() uint32
func (*UserChannel) GetCreatedAt ¶
func (x *UserChannel) GetCreatedAt() *timestamppb.Timestamp
func (*UserChannel) GetId ¶
func (x *UserChannel) GetId() uint32
func (*UserChannel) GetStatusc ¶
func (x *UserChannel) GetStatusc() uint32
func (*UserChannel) GetUgroupId ¶
func (x *UserChannel) GetUgroupId() uint32
func (*UserChannel) GetUpdatedAt ¶
func (x *UserChannel) GetUpdatedAt() *timestamppb.Timestamp
func (*UserChannel) GetUserId ¶
func (x *UserChannel) GetUserId() uint32
func (*UserChannel) GetUuid4 ¶
func (x *UserChannel) GetUuid4() []byte
func (*UserChannel) ProtoMessage ¶
func (*UserChannel) ProtoMessage()
func (*UserChannel) ProtoReflect ¶
func (x *UserChannel) ProtoReflect() protoreflect.Message
func (*UserChannel) Reset ¶
func (x *UserChannel) Reset()
func (*UserChannel) String ¶
func (x *UserChannel) String() string
type UserLike ¶
type UserLike struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Uuid4 []byte `protobuf:"bytes,2,opt,name=uuid4,proto3" json:"uuid4,omitempty"` ChannelId uint32 `protobuf:"varint,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` MessageId uint32 `protobuf:"varint,4,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` UserId uint32 `protobuf:"varint,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UgroupId uint32 `protobuf:"varint,6,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"` Statusc uint32 `protobuf:"varint,7,opt,name=statusc,proto3" json:"statusc,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
UserLike - UserLike view representation
func (*UserLike) Descriptor
deprecated
func (*UserLike) GetChannelId ¶
func (*UserLike) GetCreatedAt ¶
func (x *UserLike) GetCreatedAt() *timestamppb.Timestamp
func (*UserLike) GetMessageId ¶
func (*UserLike) GetStatusc ¶
func (*UserLike) GetUgroupId ¶
func (*UserLike) GetUpdatedAt ¶
func (x *UserLike) GetUpdatedAt() *timestamppb.Timestamp
func (*UserLike) ProtoMessage ¶
func (*UserLike) ProtoMessage()
func (*UserLike) ProtoReflect ¶
func (x *UserLike) ProtoReflect() protoreflect.Message
type UserLikeRequest ¶
type UserLikeRequest struct { ChannelId uint32 `protobuf:"varint,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` MessageId uint32 `protobuf:"varint,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UgroupId uint32 `protobuf:"varint,4,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"` UserEmail string `protobuf:"bytes,5,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` RequestId string `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*UserLikeRequest) Descriptor
deprecated
func (*UserLikeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserLikeRequest.ProtoReflect.Descriptor instead.
func (*UserLikeRequest) GetChannelId ¶
func (x *UserLikeRequest) GetChannelId() uint32
func (*UserLikeRequest) GetMessageId ¶
func (x *UserLikeRequest) GetMessageId() uint32
func (*UserLikeRequest) GetRequestId ¶
func (x *UserLikeRequest) GetRequestId() string
func (*UserLikeRequest) GetUgroupId ¶
func (x *UserLikeRequest) GetUgroupId() uint32
func (*UserLikeRequest) GetUserEmail ¶
func (x *UserLikeRequest) GetUserEmail() string
func (*UserLikeRequest) GetUserId ¶
func (x *UserLikeRequest) GetUserId() string
func (*UserLikeRequest) ProtoMessage ¶
func (*UserLikeRequest) ProtoMessage()
func (*UserLikeRequest) ProtoReflect ¶
func (x *UserLikeRequest) ProtoReflect() protoreflect.Message
func (*UserLikeRequest) Reset ¶
func (x *UserLikeRequest) Reset()
func (*UserLikeRequest) String ¶
func (x *UserLikeRequest) String() string
type UserReply ¶
type UserReply struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Uuid4 []byte `protobuf:"bytes,2,opt,name=uuid4,proto3" json:"uuid4,omitempty"` ChannelId uint32 `protobuf:"varint,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` MessageId uint32 `protobuf:"varint,4,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` UserId uint32 `protobuf:"varint,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UgroupId uint32 `protobuf:"varint,6,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"` Statusc uint32 `protobuf:"varint,7,opt,name=statusc,proto3" json:"statusc,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
UserReply - UserReply view representation
func (*UserReply) Descriptor
deprecated
func (*UserReply) GetChannelId ¶
func (*UserReply) GetCreatedAt ¶
func (x *UserReply) GetCreatedAt() *timestamppb.Timestamp
func (*UserReply) GetMessageId ¶
func (*UserReply) GetStatusc ¶
func (*UserReply) GetUgroupId ¶
func (*UserReply) GetUpdatedAt ¶
func (x *UserReply) GetUpdatedAt() *timestamppb.Timestamp
func (*UserReply) ProtoMessage ¶
func (*UserReply) ProtoMessage()
func (*UserReply) ProtoReflect ¶
func (x *UserReply) ProtoReflect() protoreflect.Message
type UserVote ¶
type UserVote struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Uuid4 []byte `protobuf:"bytes,2,opt,name=uuid4,proto3" json:"uuid4,omitempty"` Vote uint32 `protobuf:"varint,3,opt,name=vote,proto3" json:"vote,omitempty"` ChannelId uint32 `protobuf:"varint,4,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` MessageId uint32 `protobuf:"varint,5,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` UserId uint32 `protobuf:"varint,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UgroupId uint32 `protobuf:"varint,7,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"` Statusc uint32 `protobuf:"varint,8,opt,name=statusc,proto3" json:"statusc,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
UserVote - UserVote view representation
func (*UserVote) Descriptor
deprecated
func (*UserVote) GetChannelId ¶
func (*UserVote) GetCreatedAt ¶
func (x *UserVote) GetCreatedAt() *timestamppb.Timestamp
func (*UserVote) GetMessageId ¶
func (*UserVote) GetStatusc ¶
func (*UserVote) GetUgroupId ¶
func (*UserVote) GetUpdatedAt ¶
func (x *UserVote) GetUpdatedAt() *timestamppb.Timestamp
func (*UserVote) ProtoMessage ¶
func (*UserVote) ProtoMessage()
func (*UserVote) ProtoReflect ¶
func (x *UserVote) ProtoReflect() protoreflect.Message
type UserVoteRequest ¶
type UserVoteRequest struct { Vote uint32 `protobuf:"varint,1,opt,name=vote,proto3" json:"vote,omitempty"` ChannelId uint32 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` MessageId uint32 `protobuf:"varint,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UgroupId uint32 `protobuf:"varint,5,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"` UserEmail string `protobuf:"bytes,6,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` RequestId string `protobuf:"bytes,7,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*UserVoteRequest) Descriptor
deprecated
func (*UserVoteRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserVoteRequest.ProtoReflect.Descriptor instead.
func (*UserVoteRequest) GetChannelId ¶
func (x *UserVoteRequest) GetChannelId() uint32
func (*UserVoteRequest) GetMessageId ¶
func (x *UserVoteRequest) GetMessageId() uint32
func (*UserVoteRequest) GetRequestId ¶
func (x *UserVoteRequest) GetRequestId() string
func (*UserVoteRequest) GetUgroupId ¶
func (x *UserVoteRequest) GetUgroupId() uint32
func (*UserVoteRequest) GetUserEmail ¶
func (x *UserVoteRequest) GetUserEmail() string
func (*UserVoteRequest) GetUserId ¶
func (x *UserVoteRequest) GetUserId() string
func (*UserVoteRequest) GetVote ¶
func (x *UserVoteRequest) GetVote() uint32
func (*UserVoteRequest) ProtoMessage ¶
func (*UserVoteRequest) ProtoMessage()
func (*UserVoteRequest) ProtoReflect ¶
func (x *UserVoteRequest) ProtoReflect() protoreflect.Message
func (*UserVoteRequest) Reset ¶
func (x *UserVoteRequest) Reset()
func (*UserVoteRequest) String ¶
func (x *UserVoteRequest) String() string
type Workspace ¶
type Workspace struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Uuid4 []byte `protobuf:"bytes,2,opt,name=uuid4,proto3" json:"uuid4,omitempty"` IdS string `protobuf:"bytes,3,opt,name=id_s,json=idS,proto3" json:"id_s,omitempty"` WorkspaceName string `protobuf:"bytes,4,opt,name=workspace_name,json=workspaceName,proto3" json:"workspace_name,omitempty"` WorkspaceDesc string `protobuf:"bytes,5,opt,name=workspace_desc,json=workspaceDesc,proto3" json:"workspace_desc,omitempty"` NumViews uint32 `protobuf:"varint,6,opt,name=num_views,json=numViews,proto3" json:"num_views,omitempty"` NumChannels uint32 `protobuf:"varint,7,opt,name=num_channels,json=numChannels,proto3" json:"num_channels,omitempty"` Levelc uint32 `protobuf:"varint,8,opt,name=levelc,proto3" json:"levelc,omitempty"` ParentId uint32 `protobuf:"varint,9,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` NumChd uint32 `protobuf:"varint,10,opt,name=num_chd,json=numChd,proto3" json:"num_chd,omitempty"` UgroupId uint32 `protobuf:"varint,11,opt,name=ugroup_id,json=ugroupId,proto3" json:"ugroup_id,omitempty"` UserId uint32 `protobuf:"varint,12,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Statusc uint32 `protobuf:"varint,13,opt,name=statusc,proto3" json:"statusc,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Channels []*Channel `protobuf:"bytes,24,rep,name=Channels,proto3" json:"Channels,omitempty"` // contains filtered or unexported fields }
func (*Workspace) Descriptor
deprecated
func (*Workspace) GetChannels ¶
func (*Workspace) GetCreatedAt ¶
func (x *Workspace) GetCreatedAt() *timestamppb.Timestamp
func (*Workspace) GetNumChannels ¶
func (*Workspace) GetNumViews ¶
func (*Workspace) GetParentId ¶
func (*Workspace) GetStatusc ¶
func (*Workspace) GetUgroupId ¶
func (*Workspace) GetUpdatedAt ¶
func (x *Workspace) GetUpdatedAt() *timestamppb.Timestamp
func (*Workspace) GetWorkspaceDesc ¶
func (*Workspace) GetWorkspaceName ¶
func (*Workspace) ProtoMessage ¶
func (*Workspace) ProtoMessage()
func (*Workspace) ProtoReflect ¶
func (x *Workspace) ProtoReflect() protoreflect.Message
type WorkspaceChd ¶
type WorkspaceChd struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Uuid4 []byte `protobuf:"bytes,2,opt,name=uuid4,proto3" json:"uuid4,omitempty"` WorkspaceId uint32 `protobuf:"varint,3,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"` WorkspaceChdId uint32 `protobuf:"varint,4,opt,name=workspace_chd_id,json=workspaceChdId,proto3" json:"workspace_chd_id,omitempty"` Statusc uint32 `protobuf:"varint,5,opt,name=statusc,proto3" json:"statusc,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*WorkspaceChd) Descriptor
deprecated
func (*WorkspaceChd) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceChd.ProtoReflect.Descriptor instead.
func (*WorkspaceChd) GetCreatedAt ¶
func (x *WorkspaceChd) GetCreatedAt() *timestamppb.Timestamp
func (*WorkspaceChd) GetId ¶
func (x *WorkspaceChd) GetId() uint32
func (*WorkspaceChd) GetStatusc ¶
func (x *WorkspaceChd) GetStatusc() uint32
func (*WorkspaceChd) GetUpdatedAt ¶
func (x *WorkspaceChd) GetUpdatedAt() *timestamppb.Timestamp
func (*WorkspaceChd) GetUuid4 ¶
func (x *WorkspaceChd) GetUuid4() []byte
func (*WorkspaceChd) GetWorkspaceChdId ¶
func (x *WorkspaceChd) GetWorkspaceChdId() uint32
func (*WorkspaceChd) GetWorkspaceId ¶
func (x *WorkspaceChd) GetWorkspaceId() uint32
func (*WorkspaceChd) ProtoMessage ¶
func (*WorkspaceChd) ProtoMessage()
func (*WorkspaceChd) ProtoReflect ¶
func (x *WorkspaceChd) ProtoReflect() protoreflect.Message
func (*WorkspaceChd) Reset ¶
func (x *WorkspaceChd) Reset()
func (*WorkspaceChd) String ¶
func (x *WorkspaceChd) String() string
type WorkspaceCursor ¶
type WorkspaceCursor struct { Workspaces []*Workspace `protobuf:"bytes,1,rep,name=workspaces,proto3" json:"workspaces,omitempty"` NextCursor string `protobuf:"bytes,2,opt,name=NextCursor,proto3" json:"NextCursor,omitempty"` // contains filtered or unexported fields }
func (*WorkspaceCursor) Descriptor
deprecated
func (*WorkspaceCursor) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceCursor.ProtoReflect.Descriptor instead.
func (*WorkspaceCursor) GetNextCursor ¶
func (x *WorkspaceCursor) GetNextCursor() string
func (*WorkspaceCursor) GetWorkspaces ¶
func (x *WorkspaceCursor) GetWorkspaces() []*Workspace
func (*WorkspaceCursor) ProtoMessage ¶
func (*WorkspaceCursor) ProtoMessage()
func (*WorkspaceCursor) ProtoReflect ¶
func (x *WorkspaceCursor) ProtoReflect() protoreflect.Message
func (*WorkspaceCursor) Reset ¶
func (x *WorkspaceCursor) Reset()
func (*WorkspaceCursor) String ¶
func (x *WorkspaceCursor) String() string
type WorkspaceServiceClient ¶
type WorkspaceServiceClient interface { CreateWorkspace(ctx context.Context, in *CreateWorkspaceRequest, opts ...grpc.CallOption) (*Workspace, error) CreateChild(ctx context.Context, in *CreateWorkspaceRequest, opts ...grpc.CallOption) (*Workspace, error) GetWorkspaces(ctx context.Context, in *GetWorkspacesRequest, opts ...grpc.CallOption) (*WorkspaceCursor, error) GetWorkspaceWithChannels(ctx context.Context, in *commonproto.GetRequest, opts ...grpc.CallOption) (*Workspace, error) GetWorkspace(ctx context.Context, in *commonproto.GetRequest, opts ...grpc.CallOption) (*Workspace, error) GetWorkspaceByPk(ctx context.Context, in *commonproto.GetByIdRequest, opts ...grpc.CallOption) (*Workspace, error) GetTopLevelWorkspaces(ctx context.Context, in *GetTopLevelWorkspacesRequest, opts ...grpc.CallOption) (*Workspaces, error) GetChildWorkspaces(ctx context.Context, in *commonproto.GetRequest, opts ...grpc.CallOption) (*Workspaces, error) GetParentWorkspace(ctx context.Context, in *commonproto.GetRequest, opts ...grpc.CallOption) (*Workspace, error) UpdateWorkspace(ctx context.Context, in *UpdateWorkspaceRequest, opts ...grpc.CallOption) (*commonproto.Empty, error) DeleteWorkspace(ctx context.Context, in *commonproto.GetRequest, opts ...grpc.CallOption) (*commonproto.Empty, error) }
WorkspaceServiceClient is the client API for WorkspaceService 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 NewWorkspaceServiceClient ¶
func NewWorkspaceServiceClient(cc grpc.ClientConnInterface) WorkspaceServiceClient
type WorkspaceServiceServer ¶
type WorkspaceServiceServer interface { CreateWorkspace(context.Context, *CreateWorkspaceRequest) (*Workspace, error) CreateChild(context.Context, *CreateWorkspaceRequest) (*Workspace, error) GetWorkspaces(context.Context, *GetWorkspacesRequest) (*WorkspaceCursor, error) GetWorkspaceWithChannels(context.Context, *commonproto.GetRequest) (*Workspace, error) GetWorkspace(context.Context, *commonproto.GetRequest) (*Workspace, error) GetWorkspaceByPk(context.Context, *commonproto.GetByIdRequest) (*Workspace, error) GetTopLevelWorkspaces(context.Context, *GetTopLevelWorkspacesRequest) (*Workspaces, error) GetChildWorkspaces(context.Context, *commonproto.GetRequest) (*Workspaces, error) GetParentWorkspace(context.Context, *commonproto.GetRequest) (*Workspace, error) UpdateWorkspace(context.Context, *UpdateWorkspaceRequest) (*commonproto.Empty, error) DeleteWorkspace(context.Context, *commonproto.GetRequest) (*commonproto.Empty, error) // contains filtered or unexported methods }
WorkspaceServiceServer is the server API for WorkspaceService service. All implementations must embed UnimplementedWorkspaceServiceServer for forward compatibility
type Workspaces ¶
type Workspaces struct { Workspaces []*Workspace `protobuf:"bytes,1,rep,name=workspaces,proto3" json:"workspaces,omitempty"` // contains filtered or unexported fields }
func (*Workspaces) Descriptor
deprecated
func (*Workspaces) Descriptor() ([]byte, []int)
Deprecated: Use Workspaces.ProtoReflect.Descriptor instead.
func (*Workspaces) GetWorkspaces ¶
func (x *Workspaces) GetWorkspaces() []*Workspace
func (*Workspaces) ProtoMessage ¶
func (*Workspaces) ProtoMessage()
func (*Workspaces) ProtoReflect ¶
func (x *Workspaces) ProtoReflect() protoreflect.Message
func (*Workspaces) Reset ¶
func (x *Workspaces) Reset()
func (*Workspaces) String ¶
func (x *Workspaces) String() string