Documentation ¶
Index ¶
- Variables
- type Cat
- func (*Cat) Descriptor() ([]byte, []int)deprecated
- func (x *Cat) GetAge() string
- func (x *Cat) GetArea() string
- func (x *Cat) GetAvatars() []string
- func (x *Cat) GetColor() string
- func (x *Cat) GetCommunityId() string
- func (x *Cat) GetCreateAt() int64
- func (x *Cat) GetDetails() string
- func (x *Cat) GetId() string
- func (x *Cat) GetIsSnipped() bool
- func (x *Cat) GetIsSterilized() bool
- func (x *Cat) GetName() string
- func (x *Cat) GetPopularity() int64
- func (x *Cat) GetSex() string
- func (x *Cat) GetStatus() int64
- func (*Cat) ProtoMessage()
- func (x *Cat) ProtoReflect() protoreflect.Message
- func (x *Cat) Reset()
- func (x *Cat) String() string
- type CreateImageElement
- func (*CreateImageElement) Descriptor() ([]byte, []int)deprecated
- func (x *CreateImageElement) GetCatId() string
- func (x *CreateImageElement) GetUrl() string
- func (*CreateImageElement) ProtoMessage()
- func (x *CreateImageElement) ProtoReflect() protoreflect.Message
- func (x *CreateImageElement) Reset()
- func (x *CreateImageElement) String() string
- type Image
- type Moment
- func (*Moment) Descriptor() ([]byte, []int)deprecated
- func (x *Moment) GetCatId() string
- func (x *Moment) GetCommunityId() string
- func (x *Moment) GetCreateAt() int64
- func (x *Moment) GetId() string
- func (x *Moment) GetPhotos() []string
- func (x *Moment) GetText() string
- func (x *Moment) GetTitle() string
- func (x *Moment) GetUserId() string
- func (*Moment) ProtoMessage()
- func (x *Moment) ProtoReflect() protoreflect.Message
- func (x *Moment) Reset()
- func (x *Moment) String() string
- type MomentFilterOptions
- func (*MomentFilterOptions) Descriptor() ([]byte, []int)deprecated
- func (x *MomentFilterOptions) GetOnlyCommunityId() string
- func (x *MomentFilterOptions) GetOnlyCommunityIds() []string
- func (x *MomentFilterOptions) GetOnlyUserId() string
- func (*MomentFilterOptions) ProtoMessage()
- func (x *MomentFilterOptions) ProtoReflect() protoreflect.Message
- func (x *MomentFilterOptions) Reset()
- func (x *MomentFilterOptions) String() string
- type Plan
- func (*Plan) Descriptor() ([]byte, []int)deprecated
- func (x *Plan) GetCatId() string
- func (x *Plan) GetCreateAt() int64
- func (x *Plan) GetDescription() string
- func (x *Plan) GetEndTime() int64
- func (x *Plan) GetId() string
- func (x *Plan) GetImageUrls() []string
- func (x *Plan) GetInitiatorIds() []string
- func (x *Plan) GetMaxFish() int64
- func (x *Plan) GetName() string
- func (x *Plan) GetNowFish() int64
- func (x *Plan) GetPlanType() PlanType
- func (x *Plan) GetStartTime() int64
- func (*Plan) ProtoMessage()
- func (x *Plan) ProtoReflect() protoreflect.Message
- func (x *Plan) Reset()
- func (x *Plan) String() string
- type PlanFilterOptions
- func (*PlanFilterOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PlanFilterOptions) GetOnlyCatId() string
- func (x *PlanFilterOptions) GetOnlyUserId() string
- func (*PlanFilterOptions) ProtoMessage()
- func (x *PlanFilterOptions) ProtoReflect() protoreflect.Message
- func (x *PlanFilterOptions) Reset()
- func (x *PlanFilterOptions) String() string
- type PlanType
- type Post
- func (*Post) Descriptor() ([]byte, []int)deprecated
- func (x *Post) GetCoverUrl() string
- func (x *Post) GetCreateAt() int64
- func (x *Post) GetId() string
- func (x *Post) GetIsOfficial() bool
- func (x *Post) GetTags() []string
- func (x *Post) GetText() string
- func (x *Post) GetTitle() string
- func (x *Post) GetUpdateAt() int64
- func (x *Post) GetUserId() string
- func (*Post) ProtoMessage()
- func (x *Post) ProtoReflect() protoreflect.Message
- func (x *Post) Reset()
- func (x *Post) String() string
- type PostFilterOptions
- func (*PostFilterOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PostFilterOptions) GetOnlyOfficial() bool
- func (x *PostFilterOptions) GetOnlyUserId() string
- func (*PostFilterOptions) ProtoMessage()
- func (x *PostFilterOptions) ProtoReflect() protoreflect.Message
- func (x *PostFilterOptions) Reset()
- func (x *PostFilterOptions) String() string
- type SearchField
- func (*SearchField) Descriptor() ([]byte, []int)deprecated
- func (x *SearchField) GetTag() string
- func (x *SearchField) GetText() string
- func (x *SearchField) GetTitle() string
- func (*SearchField) ProtoMessage()
- func (x *SearchField) ProtoReflect() protoreflect.Message
- func (x *SearchField) Reset()
- func (x *SearchField) String() string
- type SearchOptions
- func (*SearchOptions) Descriptor() ([]byte, []int)deprecated
- func (x *SearchOptions) GetAllFieldsKey() string
- func (x *SearchOptions) GetMultiFieldsKey() *SearchField
- func (m *SearchOptions) GetType() isSearchOptions_Type
- func (*SearchOptions) ProtoMessage()
- func (x *SearchOptions) ProtoReflect() protoreflect.Message
- func (x *SearchOptions) Reset()
- func (x *SearchOptions) String() string
- type SearchOptions_AllFieldsKey
- type SearchOptions_MultiFieldsKey
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PlanType_name = map[int32]string{ 0: "TypeFeed", 1: "TypeCastrate", 2: "TypeHeal", } PlanType_value = map[string]int32{ "TypeFeed": 0, "TypeCastrate": 1, "TypeHeal": 2, } )
Enum value maps for PlanType.
View Source
var File_meowchat_content_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Cat ¶
type Cat struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" form:"id" query:"id"` CreateAt int64 `protobuf:"varint,2,opt,name=createAt,proto3" json:"createAt,omitempty" form:"createAt" query:"createAt"` Age string `protobuf:"bytes,3,opt,name=age,proto3" json:"age,omitempty" form:"age" query:"age"` CommunityId string `protobuf:"bytes,4,opt,name=communityId,proto3" json:"communityId,omitempty" form:"communityId" query:"communityId"` Color string `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty" form:"color" query:"color"` Details string `protobuf:"bytes,6,opt,name=details,proto3" json:"details,omitempty" form:"details" query:"details"` Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty" form:"name" query:"name"` Popularity int64 `protobuf:"varint,8,opt,name=popularity,proto3" json:"popularity,omitempty" form:"popularity" query:"popularity"` Sex string `protobuf:"bytes,9,opt,name=sex,proto3" json:"sex,omitempty" form:"sex" query:"sex"` Status int64 `protobuf:"varint,10,opt,name=status,proto3" json:"status,omitempty" form:"status" query:"status"` Area string `protobuf:"bytes,11,opt,name=area,proto3" json:"area,omitempty" form:"area" query:"area"` IsSnipped bool `protobuf:"varint,12,opt,name=isSnipped,proto3" json:"isSnipped,omitempty" form:"isSnipped" query:"isSnipped"` IsSterilized bool `protobuf:"varint,13,opt,name=isSterilized,proto3" json:"isSterilized,omitempty" form:"isSterilized" query:"isSterilized"` Avatars []string `protobuf:"bytes,14,rep,name=avatars,proto3" json:"avatars,omitempty" form:"avatars" query:"avatars"` // contains filtered or unexported fields }
func (*Cat) Descriptor
deprecated
func (*Cat) GetAvatars ¶
func (*Cat) GetCommunityId ¶
func (*Cat) GetCreateAt ¶
func (*Cat) GetDetails ¶
func (*Cat) GetIsSnipped ¶
func (*Cat) GetIsSterilized ¶
func (*Cat) GetPopularity ¶
func (*Cat) ProtoMessage ¶
func (*Cat) ProtoMessage()
func (*Cat) ProtoReflect ¶
func (x *Cat) ProtoReflect() protoreflect.Message
type CreateImageElement ¶
type CreateImageElement struct { CatId string `protobuf:"bytes,1,opt,name=catId,proto3" json:"catId,omitempty" form:"catId" query:"catId"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty" form:"url" query:"url"` // contains filtered or unexported fields }
func (*CreateImageElement) Descriptor
deprecated
func (*CreateImageElement) Descriptor() ([]byte, []int)
Deprecated: Use CreateImageElement.ProtoReflect.Descriptor instead.
func (*CreateImageElement) GetCatId ¶
func (x *CreateImageElement) GetCatId() string
func (*CreateImageElement) GetUrl ¶
func (x *CreateImageElement) GetUrl() string
func (*CreateImageElement) ProtoMessage ¶
func (*CreateImageElement) ProtoMessage()
func (*CreateImageElement) ProtoReflect ¶
func (x *CreateImageElement) ProtoReflect() protoreflect.Message
func (*CreateImageElement) Reset ¶
func (x *CreateImageElement) Reset()
func (*CreateImageElement) String ¶
func (x *CreateImageElement) String() string
type Image ¶
type Image struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" form:"id" query:"id"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty" form:"url" query:"url"` CatId string `protobuf:"bytes,3,opt,name=catId,proto3" json:"catId,omitempty" form:"catId" query:"catId"` // contains filtered or unexported fields }
func (*Image) Descriptor
deprecated
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) ProtoReflect ¶
func (x *Image) ProtoReflect() protoreflect.Message
type Moment ¶
type Moment struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" form:"id" query:"id"` CreateAt int64 `protobuf:"varint,2,opt,name=createAt,proto3" json:"createAt,omitempty" form:"createAt" query:"createAt"` CatId string `protobuf:"bytes,3,opt,name=catId,proto3" json:"catId,omitempty" form:"catId" query:"catId"` Photos []string `protobuf:"bytes,4,rep,name=photos,proto3" json:"photos,omitempty" form:"photos" query:"photos"` // 图片url Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty" form:"title" query:"title"` Text string `protobuf:"bytes,6,opt,name=text,proto3" json:"text,omitempty" form:"text" query:"text"` CommunityId string `protobuf:"bytes,7,opt,name=communityId,proto3" json:"communityId,omitempty" form:"communityId" query:"communityId"` UserId string `protobuf:"bytes,8,opt,name=userId,proto3" json:"userId,omitempty" form:"userId" query:"userId"` // contains filtered or unexported fields }
func (*Moment) Descriptor
deprecated
func (*Moment) GetCommunityId ¶
func (*Moment) GetCreateAt ¶
func (*Moment) ProtoMessage ¶
func (*Moment) ProtoMessage()
func (*Moment) ProtoReflect ¶
func (x *Moment) ProtoReflect() protoreflect.Message
type MomentFilterOptions ¶
type MomentFilterOptions struct { OnlyUserId *string `protobuf:"bytes,1,opt,name=onlyUserId,proto3,oneof" json:"onlyUserId,omitempty" form:"onlyUserId" query:"onlyUserId"` OnlyCommunityId *string `` /* 136-byte string literal not displayed */ OnlyCommunityIds []string `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MomentFilterOptions) Descriptor
deprecated
func (*MomentFilterOptions) Descriptor() ([]byte, []int)
Deprecated: Use MomentFilterOptions.ProtoReflect.Descriptor instead.
func (*MomentFilterOptions) GetOnlyCommunityId ¶
func (x *MomentFilterOptions) GetOnlyCommunityId() string
func (*MomentFilterOptions) GetOnlyCommunityIds ¶
func (x *MomentFilterOptions) GetOnlyCommunityIds() []string
func (*MomentFilterOptions) GetOnlyUserId ¶
func (x *MomentFilterOptions) GetOnlyUserId() string
func (*MomentFilterOptions) ProtoMessage ¶
func (*MomentFilterOptions) ProtoMessage()
func (*MomentFilterOptions) ProtoReflect ¶
func (x *MomentFilterOptions) ProtoReflect() protoreflect.Message
func (*MomentFilterOptions) Reset ¶
func (x *MomentFilterOptions) Reset()
func (*MomentFilterOptions) String ¶
func (x *MomentFilterOptions) String() string
type Plan ¶ added in v1.0.15
type Plan 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"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" form:"description" query:"description"` PlanType PlanType `` /* 134-byte string literal not displayed */ StartTime int64 `protobuf:"varint,5,opt,name=startTime,proto3" json:"startTime,omitempty" form:"startTime" query:"startTime"` EndTime int64 `protobuf:"varint,6,opt,name=endTime,proto3" json:"endTime,omitempty" form:"endTime" query:"endTime"` CatId string `protobuf:"bytes,7,opt,name=catId,proto3" json:"catId,omitempty" form:"catId" query:"catId"` InitiatorIds []string `protobuf:"bytes,8,rep,name=initiatorIds,proto3" json:"initiatorIds,omitempty" form:"initiatorIds" query:"initiatorIds"` ImageUrls []string `protobuf:"bytes,9,rep,name=imageUrls,proto3" json:"imageUrls,omitempty" form:"imageUrls" query:"imageUrls"` CreateAt int64 `protobuf:"varint,10,opt,name=createAt,proto3" json:"createAt,omitempty" form:"createAt" query:"createAt"` MaxFish int64 `protobuf:"varint,11,opt,name=maxFish,proto3" json:"maxFish,omitempty" form:"maxFish" query:"maxFish"` NowFish int64 `protobuf:"varint,12,opt,name=nowFish,proto3" json:"nowFish,omitempty" form:"nowFish" query:"nowFish"` // contains filtered or unexported fields }
func (*Plan) Descriptor
deprecated
added in
v1.0.15
func (*Plan) GetCreateAt ¶ added in v1.0.15
func (*Plan) GetDescription ¶ added in v1.0.15
func (*Plan) GetEndTime ¶ added in v1.0.15
func (*Plan) GetImageUrls ¶ added in v1.0.15
func (*Plan) GetInitiatorIds ¶ added in v1.0.15
func (*Plan) GetMaxFish ¶ added in v1.0.16
func (*Plan) GetNowFish ¶ added in v1.0.16
func (*Plan) GetPlanType ¶ added in v1.0.15
func (*Plan) GetStartTime ¶ added in v1.0.15
func (*Plan) ProtoMessage ¶ added in v1.0.15
func (*Plan) ProtoMessage()
func (*Plan) ProtoReflect ¶ added in v1.0.15
func (x *Plan) ProtoReflect() protoreflect.Message
type PlanFilterOptions ¶ added in v1.0.15
type PlanFilterOptions struct { OnlyCatId *string `protobuf:"bytes,1,opt,name=onlyCatId,proto3,oneof" json:"onlyCatId,omitempty" form:"onlyCatId" query:"onlyCatId"` OnlyUserId *string `protobuf:"bytes,2,opt,name=onlyUserId,proto3,oneof" json:"onlyUserId,omitempty" form:"onlyUserId" query:"onlyUserId"` // contains filtered or unexported fields }
func (*PlanFilterOptions) Descriptor
deprecated
added in
v1.0.15
func (*PlanFilterOptions) Descriptor() ([]byte, []int)
Deprecated: Use PlanFilterOptions.ProtoReflect.Descriptor instead.
func (*PlanFilterOptions) GetOnlyCatId ¶ added in v1.0.15
func (x *PlanFilterOptions) GetOnlyCatId() string
func (*PlanFilterOptions) GetOnlyUserId ¶ added in v1.0.15
func (x *PlanFilterOptions) GetOnlyUserId() string
func (*PlanFilterOptions) ProtoMessage ¶ added in v1.0.15
func (*PlanFilterOptions) ProtoMessage()
func (*PlanFilterOptions) ProtoReflect ¶ added in v1.0.15
func (x *PlanFilterOptions) ProtoReflect() protoreflect.Message
func (*PlanFilterOptions) Reset ¶ added in v1.0.15
func (x *PlanFilterOptions) Reset()
func (*PlanFilterOptions) String ¶ added in v1.0.15
func (x *PlanFilterOptions) String() string
type PlanType ¶ added in v1.0.15
type PlanType int32
func (PlanType) Descriptor ¶ added in v1.0.15
func (PlanType) Descriptor() protoreflect.EnumDescriptor
func (PlanType) EnumDescriptor
deprecated
added in
v1.0.15
func (PlanType) Number ¶ added in v1.0.15
func (x PlanType) Number() protoreflect.EnumNumber
func (PlanType) Type ¶ added in v1.0.15
func (PlanType) Type() protoreflect.EnumType
type Post ¶
type Post struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" form:"id" query:"id"` CreateAt int64 `protobuf:"varint,2,opt,name=createAt,proto3" json:"createAt,omitempty" form:"createAt" query:"createAt"` UpdateAt int64 `protobuf:"varint,3,opt,name=updateAt,proto3" json:"updateAt,omitempty" form:"updateAt" query:"updateAt"` Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty" form:"title" query:"title"` Text string `protobuf:"bytes,6,opt,name=text,proto3" json:"text,omitempty" form:"text" query:"text"` CoverUrl string `protobuf:"bytes,7,opt,name=coverUrl,proto3" json:"coverUrl,omitempty" form:"coverUrl" query:"coverUrl"` Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty" form:"tags" query:"tags"` UserId string `protobuf:"bytes,9,opt,name=userId,proto3" json:"userId,omitempty" form:"userId" query:"userId"` IsOfficial bool `protobuf:"varint,10,opt,name=isOfficial,proto3" json:"isOfficial,omitempty" form:"isOfficial" query:"isOfficial"` // contains filtered or unexported fields }
func (*Post) Descriptor
deprecated
func (*Post) GetCoverUrl ¶
func (*Post) GetCreateAt ¶
func (*Post) GetIsOfficial ¶
func (*Post) GetUpdateAt ¶
func (*Post) ProtoMessage ¶
func (*Post) ProtoMessage()
func (*Post) ProtoReflect ¶
func (x *Post) ProtoReflect() protoreflect.Message
type PostFilterOptions ¶
type PostFilterOptions struct { OnlyOfficial *bool `protobuf:"varint,1,opt,name=onlyOfficial,proto3,oneof" json:"onlyOfficial,omitempty" form:"onlyOfficial" query:"onlyOfficial"` OnlyUserId *string `protobuf:"bytes,2,opt,name=onlyUserId,proto3,oneof" json:"onlyUserId,omitempty" form:"onlyUserId" query:"onlyUserId"` // contains filtered or unexported fields }
func (*PostFilterOptions) Descriptor
deprecated
func (*PostFilterOptions) Descriptor() ([]byte, []int)
Deprecated: Use PostFilterOptions.ProtoReflect.Descriptor instead.
func (*PostFilterOptions) GetOnlyOfficial ¶
func (x *PostFilterOptions) GetOnlyOfficial() bool
func (*PostFilterOptions) GetOnlyUserId ¶
func (x *PostFilterOptions) GetOnlyUserId() string
func (*PostFilterOptions) ProtoMessage ¶
func (*PostFilterOptions) ProtoMessage()
func (*PostFilterOptions) ProtoReflect ¶
func (x *PostFilterOptions) ProtoReflect() protoreflect.Message
func (*PostFilterOptions) Reset ¶
func (x *PostFilterOptions) Reset()
func (*PostFilterOptions) String ¶
func (x *PostFilterOptions) String() string
type SearchField ¶
type SearchField struct { Text *string `protobuf:"bytes,1,opt,name=text,proto3,oneof" json:"text,omitempty" form:"text" query:"text"` Title *string `protobuf:"bytes,2,opt,name=title,proto3,oneof" json:"title,omitempty" form:"title" query:"title"` Tag *string `protobuf:"bytes,3,opt,name=tag,proto3,oneof" json:"tag,omitempty" form:"tag" query:"tag"` // 仅限Post // contains filtered or unexported fields }
func (*SearchField) Descriptor
deprecated
func (*SearchField) Descriptor() ([]byte, []int)
Deprecated: Use SearchField.ProtoReflect.Descriptor instead.
func (*SearchField) GetTag ¶
func (x *SearchField) GetTag() string
func (*SearchField) GetText ¶
func (x *SearchField) GetText() string
func (*SearchField) GetTitle ¶
func (x *SearchField) GetTitle() string
func (*SearchField) ProtoMessage ¶
func (*SearchField) ProtoMessage()
func (*SearchField) ProtoReflect ¶
func (x *SearchField) ProtoReflect() protoreflect.Message
func (*SearchField) Reset ¶
func (x *SearchField) Reset()
func (*SearchField) String ¶
func (x *SearchField) String() string
type SearchOptions ¶
type SearchOptions struct { // Types that are assignable to Type: // // *SearchOptions_AllFieldsKey // *SearchOptions_MultiFieldsKey Type isSearchOptions_Type `protobuf_oneof:"Type"` // contains filtered or unexported fields }
func (*SearchOptions) Descriptor
deprecated
func (*SearchOptions) Descriptor() ([]byte, []int)
Deprecated: Use SearchOptions.ProtoReflect.Descriptor instead.
func (*SearchOptions) GetAllFieldsKey ¶
func (x *SearchOptions) GetAllFieldsKey() string
func (*SearchOptions) GetMultiFieldsKey ¶
func (x *SearchOptions) GetMultiFieldsKey() *SearchField
func (*SearchOptions) GetType ¶
func (m *SearchOptions) GetType() isSearchOptions_Type
func (*SearchOptions) ProtoMessage ¶
func (*SearchOptions) ProtoMessage()
func (*SearchOptions) ProtoReflect ¶
func (x *SearchOptions) ProtoReflect() protoreflect.Message
func (*SearchOptions) Reset ¶
func (x *SearchOptions) Reset()
func (*SearchOptions) String ¶
func (x *SearchOptions) String() string
type SearchOptions_AllFieldsKey ¶
type SearchOptions_AllFieldsKey struct {
AllFieldsKey string `protobuf:"bytes,1,opt,name=allFieldsKey,proto3,oneof"`
}
type SearchOptions_MultiFieldsKey ¶
type SearchOptions_MultiFieldsKey struct {
MultiFieldsKey *SearchField `protobuf:"bytes,2,opt,name=multiFieldsKey,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.