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) 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 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 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,omitempty" form:"id" query:"id"` CommunityId string `protobuf:"bytes,2,opt,name=communityId,proto3" json:"communityId,omitempty" form:"communityId" query:"communityId"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" form:"name" query:"name"` Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty" form:"title" query:"title"` Phone string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty" form:"phone" query:"phone"` Wechat string `protobuf:"bytes,6,opt,name=wechat,proto3" json:"wechat,omitempty" form:"wechat" query:"wechat"` AvatarUrl string `protobuf:"bytes,7,opt,name=avatarUrl,proto3" json:"avatarUrl,omitempty" 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,omitempty" form:"applyId" query:"applyId"` ApplicantId string `protobuf:"bytes,2,opt,name=applicantId,proto3" json:"applicantId,omitempty" form:"applicantId" query:"applicantId"` CommunityId string `protobuf:"bytes,4,opt,name=communityId,proto3" json:"communityId,omitempty" 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,omitempty" form:"id" query:"id"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" form:"name" query:"name"` ParentId string `protobuf:"bytes,3,opt,name=parentId,proto3" json:"parentId,omitempty" 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,omitempty" form:"id" query:"id"` CommunityId string `protobuf:"bytes,2,opt,name=communityId,proto3" json:"communityId,omitempty" form:"communityId" query:"communityId"` ImageUrl string `protobuf:"bytes,3,opt,name=imageUrl,proto3" json:"imageUrl,omitempty" form:"imageUrl" query:"imageUrl"` LinkUrl string `protobuf:"bytes,4,opt,name=linkUrl,proto3" json:"linkUrl,omitempty" form:"linkUrl" query:"linkUrl"` Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty" form:"type" query:"type"` // contains filtered or unexported fields }
func (*News) Descriptor
deprecated
func (*News) GetCommunityId ¶
func (*News) GetImageUrl ¶
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,omitempty" form:"id" query:"id"` CommunityId string `protobuf:"bytes,2,opt,name=communityId,proto3" json:"communityId,omitempty" form:"communityId" query:"communityId"` Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty" form:"text" query:"text"` CreateAt int64 `protobuf:"varint,4,opt,name=createAt,proto3" json:"createAt,omitempty" form:"createAt" query:"createAt"` UpdateAt int64 `protobuf:"varint,5,opt,name=updateAt,proto3" json:"updateAt,omitempty" 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 Role ¶
type Role struct { RoleType RoleType `` /* 133-byte string literal not displayed */ CommunityId *string `protobuf:"bytes,2,opt,name=communityId,proto3,oneof" json:"communityId,omitempty" 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.