Documentation ¶
Index ¶
- Variables
- type Admin
- func (*Admin) Descriptor() ([]byte, []int)deprecated
- func (x *Admin) GetAvatarUrl() string
- func (x *Admin) GetCommunityId() string
- func (x *Admin) GetId() string
- func (x *Admin) GetName() string
- func (x *Admin) GetPhone() string
- func (x *Admin) GetTitle() string
- func (x *Admin) GetWechat() string
- func (*Admin) ProtoMessage()
- func (x *Admin) ProtoReflect() protoreflect.Message
- func (x *Admin) Reset()
- func (x *Admin) String() string
- type Apply
- func (*Apply) Descriptor() ([]byte, []int)deprecated
- func (x *Apply) GetApplicantId() string
- func (x *Apply) GetApplyId() string
- func (x *Apply) GetCommunityId() string
- func (*Apply) ProtoMessage()
- func (x *Apply) ProtoReflect() protoreflect.Message
- func (x *Apply) Reset()
- func (x *Apply) String() string
- type ApplyStatus
- func (ApplyStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ApplyStatus) Enum() *ApplyStatus
- func (ApplyStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ApplyStatus) Number() protoreflect.EnumNumber
- func (x ApplyStatus) String() string
- func (ApplyStatus) Type() protoreflect.EnumType
- type Community
- func (*Community) Descriptor() ([]byte, []int)deprecated
- func (x *Community) GetId() string
- func (x *Community) GetName() string
- func (x *Community) GetParentId() string
- func (*Community) ProtoMessage()
- func (x *Community) ProtoReflect() protoreflect.Message
- func (x *Community) Reset()
- func (x *Community) String() string
- type News
- func (*News) Descriptor() ([]byte, []int)deprecated
- func (x *News) GetCommunityId() string
- func (x *News) GetId() string
- func (x *News) GetImageUrl() string
- func (x *News) GetIsPublic() int64
- func (x *News) GetLinkUrl() string
- func (x *News) GetType() string
- func (*News) ProtoMessage()
- func (x *News) ProtoReflect() protoreflect.Message
- func (x *News) Reset()
- func (x *News) String() string
- type Notice
- func (*Notice) Descriptor() ([]byte, []int)deprecated
- func (x *Notice) GetCommunityId() string
- func (x *Notice) GetCreateAt() int64
- func (x *Notice) GetId() string
- func (x *Notice) GetText() string
- func (x *Notice) GetUpdateAt() int64
- func (*Notice) ProtoMessage()
- func (x *Notice) ProtoReflect() protoreflect.Message
- func (x *Notice) Reset()
- func (x *Notice) String() string
- type Notification
- func (*Notification) Descriptor() ([]byte, []int)deprecated
- func (x *Notification) GetCreateAt() int64
- func (x *Notification) GetNotificationId() string
- func (x *Notification) GetParenId() string
- func (x *Notification) GetText() string
- func (x *Notification) GetType() NotificationType
- func (x *Notification) GetUserId() string
- func (*Notification) ProtoMessage()
- func (x *Notification) ProtoReflect() protoreflect.Message
- func (x *Notification) Reset()
- func (x *Notification) String() string
- type NotificationType
- func (NotificationType) Descriptor() protoreflect.EnumDescriptor
- func (x NotificationType) Enum() *NotificationType
- func (NotificationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x NotificationType) Number() protoreflect.EnumNumber
- func (x NotificationType) String() string
- func (NotificationType) Type() protoreflect.EnumType
- type Role
- type RoleType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RoleType_name = map[int32]string{ 0: "TypeUnknown", 1: "TypeNormalUser", 2: "TypeCommunityAdmin", 3: "TypeSuperAdmin", 4: "TypeDeveloper", } RoleType_value = map[string]int32{ "TypeUnknown": 0, "TypeNormalUser": 1, "TypeCommunityAdmin": 2, "TypeSuperAdmin": 3, "TypeDeveloper": 4, } )
Enum value maps for RoleType.
View Source
var ( ApplyStatus_name = map[int32]string{ 0: "StatusUnknown", 1: "StatusUnprocessed", 2: "StatusAccepted", 3: "StatusRejected", } ApplyStatus_value = map[string]int32{ "StatusUnknown": 0, "StatusUnprocessed": 1, "StatusAccepted": 2, "StatusRejected": 3, } )
Enum value maps for ApplyStatus.
View Source
var ( NotificationType_name = map[int32]string{ 0: "TypeOther", 1: "TypeContentLike", 2: "TypeUserLike", 3: "TypeContentComment", } NotificationType_value = map[string]int32{ "TypeOther": 0, "TypeContentLike": 1, "TypeUserLike": 2, "TypeContentComment": 3, } )
Enum value maps for NotificationType.
View Source
var File_meowchat_system_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Admin ¶
type Admin struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id" query:"id"` CommunityId string `protobuf:"bytes,2,opt,name=communityId,proto3" json:"communityId" form:"communityId" query:"communityId"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name" form:"name" query:"name"` Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title" form:"title" query:"title"` Phone string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone" form:"phone" query:"phone"` Wechat string `protobuf:"bytes,6,opt,name=wechat,proto3" json:"wechat" form:"wechat" query:"wechat"` AvatarUrl string `protobuf:"bytes,7,opt,name=avatarUrl,proto3" json:"avatarUrl" form:"avatarUrl" query:"avatarUrl"` // contains filtered or unexported fields }
func (*Admin) Descriptor
deprecated
func (*Admin) GetAvatarUrl ¶
func (*Admin) GetCommunityId ¶
func (*Admin) ProtoMessage ¶
func (*Admin) ProtoMessage()
func (*Admin) ProtoReflect ¶
func (x *Admin) ProtoReflect() protoreflect.Message
type Apply ¶
type Apply struct { ApplyId string `protobuf:"bytes,1,opt,name=applyId,proto3" json:"applyId" form:"applyId" query:"applyId"` ApplicantId string `protobuf:"bytes,2,opt,name=applicantId,proto3" json:"applicantId" form:"applicantId" query:"applicantId"` CommunityId string `protobuf:"bytes,4,opt,name=communityId,proto3" json:"communityId" form:"communityId" query:"communityId"` // contains filtered or unexported fields }
func (*Apply) Descriptor
deprecated
func (*Apply) GetApplicantId ¶
func (*Apply) GetApplyId ¶
func (*Apply) GetCommunityId ¶
func (*Apply) ProtoMessage ¶
func (*Apply) ProtoMessage()
func (*Apply) ProtoReflect ¶
func (x *Apply) ProtoReflect() protoreflect.Message
type ApplyStatus ¶
type ApplyStatus int32
const ( ApplyStatus_StatusUnknown ApplyStatus = 0 ApplyStatus_StatusUnprocessed ApplyStatus = 1 ApplyStatus_StatusAccepted ApplyStatus = 2 ApplyStatus_StatusRejected ApplyStatus = 3 )
func (ApplyStatus) Descriptor ¶
func (ApplyStatus) Descriptor() protoreflect.EnumDescriptor
func (ApplyStatus) Enum ¶
func (x ApplyStatus) Enum() *ApplyStatus
func (ApplyStatus) EnumDescriptor
deprecated
func (ApplyStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ApplyStatus.Descriptor instead.
func (ApplyStatus) Number ¶
func (x ApplyStatus) Number() protoreflect.EnumNumber
func (ApplyStatus) String ¶
func (x ApplyStatus) String() string
func (ApplyStatus) Type ¶
func (ApplyStatus) Type() protoreflect.EnumType
type Community ¶
type Community struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id" query:"id"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name" query:"name"` ParentId string `protobuf:"bytes,3,opt,name=parentId,proto3" json:"parentId" form:"parentId" query:"parentId"` // contains filtered or unexported fields }
func (*Community) Descriptor
deprecated
func (*Community) GetParentId ¶
func (*Community) ProtoMessage ¶
func (*Community) ProtoMessage()
func (*Community) ProtoReflect ¶
func (x *Community) ProtoReflect() protoreflect.Message
type News ¶
type News struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id" query:"id"` CommunityId string `protobuf:"bytes,2,opt,name=communityId,proto3" json:"communityId" form:"communityId" query:"communityId"` ImageUrl string `protobuf:"bytes,3,opt,name=imageUrl,proto3" json:"imageUrl" form:"imageUrl" query:"imageUrl"` LinkUrl string `protobuf:"bytes,4,opt,name=linkUrl,proto3" json:"linkUrl" form:"linkUrl" query:"linkUrl"` Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type" form:"type" query:"type"` IsPublic int64 `protobuf:"varint,6,opt,name=isPublic,proto3" json:"isPublic" form:"isPublic" query:"isPublic"` // contains filtered or unexported fields }
func (*News) Descriptor
deprecated
func (*News) GetCommunityId ¶
func (*News) GetImageUrl ¶
func (*News) GetIsPublic ¶ added in v1.0.8
func (*News) GetLinkUrl ¶
func (*News) ProtoMessage ¶
func (*News) ProtoMessage()
func (*News) ProtoReflect ¶
func (x *News) ProtoReflect() protoreflect.Message
type Notice ¶
type Notice struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id" query:"id"` CommunityId string `protobuf:"bytes,2,opt,name=communityId,proto3" json:"communityId" form:"communityId" query:"communityId"` Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text" form:"text" query:"text"` CreateAt int64 `protobuf:"varint,4,opt,name=createAt,proto3" json:"createAt" form:"createAt" query:"createAt"` UpdateAt int64 `protobuf:"varint,5,opt,name=updateAt,proto3" json:"updateAt" form:"updateAt" query:"updateAt"` // contains filtered or unexported fields }
func (*Notice) Descriptor
deprecated
func (*Notice) GetCommunityId ¶
func (*Notice) GetCreateAt ¶
func (*Notice) GetUpdateAt ¶
func (*Notice) ProtoMessage ¶
func (*Notice) ProtoMessage()
func (*Notice) ProtoReflect ¶
func (x *Notice) ProtoReflect() protoreflect.Message
type Notification ¶ added in v1.0.27
type Notification struct { NotificationId string `protobuf:"bytes,1,opt,name=notificationId,proto3" json:"notificationId" form:"notificationId" query:"notificationId"` UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId" form:"userId" query:"userId"` ParenId string `protobuf:"bytes,3,opt,name=parenId,proto3" json:"parenId" form:"parenId" query:"parenId"` Type NotificationType `protobuf:"varint,4,opt,name=type,proto3,enum=meowchat.system.NotificationType" json:"type" form:"type" query:"type"` Text string `protobuf:"bytes,5,opt,name=text,proto3" json:"text" form:"text" query:"text"` CreateAt int64 `protobuf:"varint,6,opt,name=createAt,proto3" json:"createAt" form:"createAt" query:"createAt"` // contains filtered or unexported fields }
func (*Notification) Descriptor
deprecated
added in
v1.0.27
func (*Notification) Descriptor() ([]byte, []int)
Deprecated: Use Notification.ProtoReflect.Descriptor instead.
func (*Notification) GetCreateAt ¶ added in v1.0.27
func (x *Notification) GetCreateAt() int64
func (*Notification) GetNotificationId ¶ added in v1.0.27
func (x *Notification) GetNotificationId() string
func (*Notification) GetParenId ¶ added in v1.0.27
func (x *Notification) GetParenId() string
func (*Notification) GetText ¶ added in v1.0.27
func (x *Notification) GetText() string
func (*Notification) GetType ¶ added in v1.0.27
func (x *Notification) GetType() NotificationType
func (*Notification) GetUserId ¶ added in v1.0.27
func (x *Notification) GetUserId() string
func (*Notification) ProtoMessage ¶ added in v1.0.27
func (*Notification) ProtoMessage()
func (*Notification) ProtoReflect ¶ added in v1.0.27
func (x *Notification) ProtoReflect() protoreflect.Message
func (*Notification) Reset ¶ added in v1.0.27
func (x *Notification) Reset()
func (*Notification) String ¶ added in v1.0.27
func (x *Notification) String() string
type NotificationType ¶ added in v1.0.27
type NotificationType int32
const ( NotificationType_TypeOther NotificationType = 0 NotificationType_TypeContentLike NotificationType = 1 NotificationType_TypeUserLike NotificationType = 2 NotificationType_TypeContentComment NotificationType = 3 )
func (NotificationType) Descriptor ¶ added in v1.0.27
func (NotificationType) Descriptor() protoreflect.EnumDescriptor
func (NotificationType) Enum ¶ added in v1.0.27
func (x NotificationType) Enum() *NotificationType
func (NotificationType) EnumDescriptor
deprecated
added in
v1.0.27
func (NotificationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use NotificationType.Descriptor instead.
func (NotificationType) Number ¶ added in v1.0.27
func (x NotificationType) Number() protoreflect.EnumNumber
func (NotificationType) String ¶ added in v1.0.27
func (x NotificationType) String() string
func (NotificationType) Type ¶ added in v1.0.27
func (NotificationType) Type() protoreflect.EnumType
type Role ¶
type Role struct { RoleType RoleType `protobuf:"varint,1,opt,name=roleType,proto3,enum=meowchat.system.RoleType" json:"roleType" form:"roleType" query:"roleType"` CommunityId *string `protobuf:"bytes,2,opt,name=communityId,proto3,oneof" json:"communityId" form:"communityId" query:"communityId"` // contains filtered or unexported fields }
func (*Role) Descriptor
deprecated
func (*Role) GetCommunityId ¶
func (*Role) GetRoleType ¶
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶
func (x *Role) ProtoReflect() protoreflect.Message
type RoleType ¶
type RoleType int32
func (RoleType) Descriptor ¶
func (RoleType) Descriptor() protoreflect.EnumDescriptor
func (RoleType) EnumDescriptor
deprecated
func (RoleType) Number ¶
func (x RoleType) Number() protoreflect.EnumNumber
func (RoleType) Type ¶
func (RoleType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.