Documentation ¶
Index ¶
- Variables
- type ApplySignedUrlAsCommunityReq
- func (*ApplySignedUrlAsCommunityReq) Descriptor() ([]byte, []int)deprecated
- func (x *ApplySignedUrlAsCommunityReq) GetCommunityId() string
- func (x *ApplySignedUrlAsCommunityReq) GetPrefix() string
- func (x *ApplySignedUrlAsCommunityReq) GetSuffix() string
- func (*ApplySignedUrlAsCommunityReq) ProtoMessage()
- func (x *ApplySignedUrlAsCommunityReq) ProtoReflect() protoreflect.Message
- func (x *ApplySignedUrlAsCommunityReq) Reset()
- func (x *ApplySignedUrlAsCommunityReq) String() string
- type ApplySignedUrlAsCommunityResp
- func (*ApplySignedUrlAsCommunityResp) Descriptor() ([]byte, []int)deprecated
- func (x *ApplySignedUrlAsCommunityResp) GetSessionToken() string
- func (x *ApplySignedUrlAsCommunityResp) GetUrl() string
- func (*ApplySignedUrlAsCommunityResp) ProtoMessage()
- func (x *ApplySignedUrlAsCommunityResp) ProtoReflect() protoreflect.Message
- func (x *ApplySignedUrlAsCommunityResp) Reset()
- func (x *ApplySignedUrlAsCommunityResp) String() string
- type ApplySignedUrlReq
- func (*ApplySignedUrlReq) Descriptor() ([]byte, []int)deprecated
- func (x *ApplySignedUrlReq) GetPrefix() string
- func (x *ApplySignedUrlReq) GetSuffix() string
- func (*ApplySignedUrlReq) ProtoMessage()
- func (x *ApplySignedUrlReq) ProtoReflect() protoreflect.Message
- func (x *ApplySignedUrlReq) Reset()
- func (x *ApplySignedUrlReq) String() string
- type ApplySignedUrlResp
- func (*ApplySignedUrlResp) Descriptor() ([]byte, []int)deprecated
- func (x *ApplySignedUrlResp) GetSessionToken() string
- func (x *ApplySignedUrlResp) GetUrl() string
- func (*ApplySignedUrlResp) ProtoMessage()
- func (x *ApplySignedUrlResp) ProtoReflect() protoreflect.Message
- func (x *ApplySignedUrlResp) Reset()
- func (x *ApplySignedUrlResp) String() string
- type AuthType
- type CatPreview
- func (*CatPreview) Descriptor() ([]byte, []int)deprecated
- func (x *CatPreview) GetArea() string
- func (x *CatPreview) GetAvatarUrl() string
- func (x *CatPreview) GetColor() string
- func (x *CatPreview) GetId() string
- func (x *CatPreview) GetIsCollected() bool
- func (x *CatPreview) GetName() string
- func (*CatPreview) ProtoMessage()
- func (x *CatPreview) ProtoReflect() protoreflect.Message
- func (x *CatPreview) Reset()
- func (x *CatPreview) String() string
- type Comment
- func (*Comment) Descriptor() ([]byte, []int)deprecated
- func (x *Comment) GetComments() int64
- func (x *Comment) GetCreateAt() int64
- func (x *Comment) GetId() string
- func (x *Comment) GetReplyName() string
- func (x *Comment) GetText() string
- func (x *Comment) GetUpdateAt() int64
- func (x *Comment) GetUser() *basic.UserPreview
- func (*Comment) ProtoMessage()
- func (x *Comment) ProtoReflect() protoreflect.Message
- func (x *Comment) Reset()
- func (x *Comment) String() string
- type CreateImageReq
- func (*CreateImageReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateImageReq) GetImages() []*collection.CreateImageElement
- func (*CreateImageReq) ProtoMessage()
- func (x *CreateImageReq) ProtoReflect() protoreflect.Message
- func (x *CreateImageReq) Reset()
- func (x *CreateImageReq) String() string
- type CreateImageResp
- type DeleteCatReq
- type DeleteCatResp
- type DeleteCommentReq
- type DeleteCommentResp
- type DeleteImageReq
- type DeleteImageResp
- type DeleteMomentReq
- type DeleteMomentResp
- type DeletePostReq
- type DeletePostResp
- type DoLikeReq
- type DoLikeResp
- type GetCatDetailReq
- type GetCatDetailResp
- type GetCatPreviewsReq
- func (*GetCatPreviewsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetCatPreviewsReq) GetCommunityId() string
- func (x *GetCatPreviewsReq) GetPage() int64
- func (*GetCatPreviewsReq) ProtoMessage()
- func (x *GetCatPreviewsReq) ProtoReflect() protoreflect.Message
- func (x *GetCatPreviewsReq) Reset()
- func (x *GetCatPreviewsReq) String() string
- type GetCatPreviewsResp
- func (*GetCatPreviewsResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetCatPreviewsResp) GetCats() []*CatPreview
- func (x *GetCatPreviewsResp) GetTotal() int64
- func (*GetCatPreviewsResp) ProtoMessage()
- func (x *GetCatPreviewsResp) ProtoReflect() protoreflect.Message
- func (x *GetCatPreviewsResp) Reset()
- func (x *GetCatPreviewsResp) String() string
- type GetCommentsReq
- func (*GetCommentsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommentsReq) GetId() string
- func (x *GetCommentsReq) GetPage() int64
- func (x *GetCommentsReq) GetScope() string
- func (*GetCommentsReq) ProtoMessage()
- func (x *GetCommentsReq) ProtoReflect() protoreflect.Message
- func (x *GetCommentsReq) Reset()
- func (x *GetCommentsReq) String() string
- type GetCommentsResp
- func (*GetCommentsResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommentsResp) GetComments() []*Comment
- func (x *GetCommentsResp) GetTotal() int64
- func (*GetCommentsResp) ProtoMessage()
- func (x *GetCommentsResp) ProtoReflect() protoreflect.Message
- func (x *GetCommentsResp) Reset()
- func (x *GetCommentsResp) String() string
- type GetImageByCatReq
- func (*GetImageByCatReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetImageByCatReq) GetBackward() bool
- func (x *GetImageByCatReq) GetCatId() string
- func (x *GetImageByCatReq) GetLimit() int64
- func (x *GetImageByCatReq) GetOffset() int64
- func (x *GetImageByCatReq) GetPrevId() string
- func (*GetImageByCatReq) ProtoMessage()
- func (x *GetImageByCatReq) ProtoReflect() protoreflect.Message
- func (x *GetImageByCatReq) Reset()
- func (x *GetImageByCatReq) String() string
- type GetImageByCatResp
- func (*GetImageByCatResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetImageByCatResp) GetImages() []*collection.Image
- func (x *GetImageByCatResp) GetTotal() int64
- func (*GetImageByCatResp) ProtoMessage()
- func (x *GetImageByCatResp) ProtoReflect() protoreflect.Message
- func (x *GetImageByCatResp) Reset()
- func (x *GetImageByCatResp) String() string
- type GetLikedCountReq
- func (*GetLikedCountReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetLikedCountReq) GetTargetId() string
- func (x *GetLikedCountReq) GetTargetType() int64
- func (*GetLikedCountReq) ProtoMessage()
- func (x *GetLikedCountReq) ProtoReflect() protoreflect.Message
- func (x *GetLikedCountReq) Reset()
- func (x *GetLikedCountReq) String() string
- type GetLikedCountResp
- type GetLikedUsersReq
- func (*GetLikedUsersReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetLikedUsersReq) GetTargetId() string
- func (x *GetLikedUsersReq) GetTargetType() int64
- func (*GetLikedUsersReq) ProtoMessage()
- func (x *GetLikedUsersReq) ProtoReflect() protoreflect.Message
- func (x *GetLikedUsersReq) Reset()
- func (x *GetLikedUsersReq) String() string
- type GetLikedUsersResp
- func (*GetLikedUsersResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetLikedUsersResp) GetUsers() []*basic.UserPreview
- func (*GetLikedUsersResp) ProtoMessage()
- func (x *GetLikedUsersResp) ProtoReflect() protoreflect.Message
- func (x *GetLikedUsersResp) Reset()
- func (x *GetLikedUsersResp) String() string
- type GetMomentDetailReq
- func (*GetMomentDetailReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetMomentDetailReq) GetMomentId() string
- func (*GetMomentDetailReq) ProtoMessage()
- func (x *GetMomentDetailReq) ProtoReflect() protoreflect.Message
- func (x *GetMomentDetailReq) Reset()
- func (x *GetMomentDetailReq) String() string
- type GetMomentDetailResp
- func (*GetMomentDetailResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetMomentDetailResp) GetMoment() *Moment
- func (*GetMomentDetailResp) ProtoMessage()
- func (x *GetMomentDetailResp) ProtoReflect() protoreflect.Message
- func (x *GetMomentDetailResp) Reset()
- func (x *GetMomentDetailResp) String() string
- type GetMomentPreviewsReq
- func (*GetMomentPreviewsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetMomentPreviewsReq) GetCommunityId() string
- func (x *GetMomentPreviewsReq) GetIsParent() bool
- func (x *GetMomentPreviewsReq) GetOnlyUserId() string
- func (x *GetMomentPreviewsReq) GetPaginationOption() *basic.PaginationOptions
- func (*GetMomentPreviewsReq) ProtoMessage()
- func (x *GetMomentPreviewsReq) ProtoReflect() protoreflect.Message
- func (x *GetMomentPreviewsReq) Reset()
- func (x *GetMomentPreviewsReq) String() string
- type GetMomentPreviewsResp
- func (*GetMomentPreviewsResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetMomentPreviewsResp) GetMoments() []*Moment
- func (x *GetMomentPreviewsResp) GetTotal() int64
- func (*GetMomentPreviewsResp) ProtoMessage()
- func (x *GetMomentPreviewsResp) ProtoReflect() protoreflect.Message
- func (x *GetMomentPreviewsResp) Reset()
- func (x *GetMomentPreviewsResp) String() string
- type GetPostDetailReq
- type GetPostDetailResp
- type GetPostPreviewsReq
- func (*GetPostPreviewsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetPostPreviewsReq) GetOnlyOfficial() bool
- func (x *GetPostPreviewsReq) GetOnlyUserId() string
- func (x *GetPostPreviewsReq) GetPaginationOption() *basic.PaginationOptions
- func (x *GetPostPreviewsReq) GetSearchOptions() *SearchOptions
- func (*GetPostPreviewsReq) ProtoMessage()
- func (x *GetPostPreviewsReq) ProtoReflect() protoreflect.Message
- func (x *GetPostPreviewsReq) Reset()
- func (x *GetPostPreviewsReq) String() string
- type GetPostPreviewsResp
- func (*GetPostPreviewsResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetPostPreviewsResp) GetPosts() []*Post
- func (x *GetPostPreviewsResp) GetToken() string
- func (x *GetPostPreviewsResp) GetTotal() int64
- func (*GetPostPreviewsResp) ProtoMessage()
- func (x *GetPostPreviewsResp) ProtoReflect() protoreflect.Message
- func (x *GetPostPreviewsResp) Reset()
- func (x *GetPostPreviewsResp) String() string
- type GetUserInfoReq
- type GetUserInfoResp
- type GetUserLikedReq
- func (*GetUserLikedReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserLikedReq) GetTargetId() string
- func (x *GetUserLikedReq) GetTargetType() int64
- func (*GetUserLikedReq) ProtoMessage()
- func (x *GetUserLikedReq) ProtoReflect() protoreflect.Message
- func (x *GetUserLikedReq) Reset()
- func (x *GetUserLikedReq) String() string
- type GetUserLikedResp
- type GetUserLikesReq
- func (*GetUserLikesReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserLikesReq) GetTargetType() int64
- func (x *GetUserLikesReq) GetUserId() string
- func (*GetUserLikesReq) ProtoMessage()
- func (x *GetUserLikesReq) ProtoReflect() protoreflect.Message
- func (x *GetUserLikesReq) Reset()
- func (x *GetUserLikesReq) String() string
- type GetUserLikesResp
- 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() *basic.UserPreview
- func (*Moment) ProtoMessage()
- func (x *Moment) ProtoReflect() protoreflect.Message
- func (x *Moment) Reset()
- func (x *Moment) String() string
- type NewCatReq
- func (*NewCatReq) Descriptor() ([]byte, []int)deprecated
- func (x *NewCatReq) GetAge() string
- func (x *NewCatReq) GetArea() string
- func (x *NewCatReq) GetAvatars() []string
- func (x *NewCatReq) GetColor() string
- func (x *NewCatReq) GetCommunityId() string
- func (x *NewCatReq) GetDetails() string
- func (x *NewCatReq) GetId() string
- func (x *NewCatReq) GetIsSnipped() bool
- func (x *NewCatReq) GetIsSterilized() bool
- func (x *NewCatReq) GetName() string
- func (x *NewCatReq) GetSex() string
- func (*NewCatReq) ProtoMessage()
- func (x *NewCatReq) ProtoReflect() protoreflect.Message
- func (x *NewCatReq) Reset()
- func (x *NewCatReq) String() string
- type NewCatResp
- type NewCommentReq
- func (*NewCommentReq) Descriptor() ([]byte, []int)deprecated
- func (x *NewCommentReq) GetId() string
- func (x *NewCommentReq) GetScope() string
- func (x *NewCommentReq) GetText() string
- func (*NewCommentReq) ProtoMessage()
- func (x *NewCommentReq) ProtoReflect() protoreflect.Message
- func (x *NewCommentReq) Reset()
- func (x *NewCommentReq) String() string
- type NewCommentResp
- type NewMomentReq
- func (*NewMomentReq) Descriptor() ([]byte, []int)deprecated
- func (x *NewMomentReq) GetCatId() string
- func (x *NewMomentReq) GetCommunityId() string
- func (x *NewMomentReq) GetId() string
- func (x *NewMomentReq) GetPhotos() []string
- func (x *NewMomentReq) GetText() string
- func (x *NewMomentReq) GetTitle() string
- func (*NewMomentReq) ProtoMessage()
- func (x *NewMomentReq) ProtoReflect() protoreflect.Message
- func (x *NewMomentReq) Reset()
- func (x *NewMomentReq) String() string
- type NewMomentResp
- type NewPostReq
- func (*NewPostReq) Descriptor() ([]byte, []int)deprecated
- func (x *NewPostReq) GetCoverUrl() string
- func (x *NewPostReq) GetId() string
- func (x *NewPostReq) GetTags() []string
- func (x *NewPostReq) GetText() string
- func (x *NewPostReq) GetTitle() string
- func (*NewPostReq) ProtoMessage()
- func (x *NewPostReq) ProtoReflect() protoreflect.Message
- func (x *NewPostReq) Reset()
- func (x *NewPostReq) String() string
- type NewPostResp
- 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) GetUser() *basic.UserPreview
- func (*Post) ProtoMessage()
- func (x *Post) ProtoReflect() protoreflect.Message
- func (x *Post) Reset()
- func (x *Post) String() string
- type SearchCatReq
- func (*SearchCatReq) Descriptor() ([]byte, []int)deprecated
- func (x *SearchCatReq) GetCommunityId() string
- func (x *SearchCatReq) GetKeyword() string
- func (x *SearchCatReq) GetPaginationOption() *basic.PaginationOptions
- func (*SearchCatReq) ProtoMessage()
- func (x *SearchCatReq) ProtoReflect() protoreflect.Message
- func (x *SearchCatReq) Reset()
- func (x *SearchCatReq) String() string
- type SearchCatResp
- func (*SearchCatResp) Descriptor() ([]byte, []int)deprecated
- func (x *SearchCatResp) GetCats() []*CatPreview
- func (x *SearchCatResp) GetTotal() int64
- func (*SearchCatResp) ProtoMessage()
- func (x *SearchCatResp) ProtoReflect() protoreflect.Message
- func (x *SearchCatResp) Reset()
- func (x *SearchCatResp) String() string
- type SearchMomentReq
- func (*SearchMomentReq) Descriptor() ([]byte, []int)deprecated
- func (x *SearchMomentReq) GetCommunityId() string
- func (x *SearchMomentReq) GetIsParent() bool
- func (x *SearchMomentReq) GetKeyword() string
- func (x *SearchMomentReq) GetOnlyUserId() string
- func (x *SearchMomentReq) GetPaginationOption() *basic.PaginationOptions
- func (*SearchMomentReq) ProtoMessage()
- func (x *SearchMomentReq) ProtoReflect() protoreflect.Message
- func (x *SearchMomentReq) Reset()
- func (x *SearchMomentReq) String() string
- type SearchMomentResp
- func (*SearchMomentResp) Descriptor() ([]byte, []int)deprecated
- func (x *SearchMomentResp) GetMoments() []*Moment
- func (x *SearchMomentResp) GetTotal() int64
- func (*SearchMomentResp) ProtoMessage()
- func (x *SearchMomentResp) ProtoReflect() protoreflect.Message
- func (x *SearchMomentResp) Reset()
- func (x *SearchMomentResp) String() string
- type SearchOptions
- func (*SearchOptions) Descriptor() ([]byte, []int)deprecated
- func (x *SearchOptions) GetKey() string
- func (x *SearchOptions) GetTag() string
- func (x *SearchOptions) GetText() string
- func (x *SearchOptions) GetTitle() string
- func (*SearchOptions) ProtoMessage()
- func (x *SearchOptions) ProtoReflect() protoreflect.Message
- func (x *SearchOptions) Reset()
- func (x *SearchOptions) String() string
- type SearchUserForAdminReq
- func (*SearchUserForAdminReq) Descriptor() ([]byte, []int)deprecated
- func (x *SearchUserForAdminReq) GetKeyword() string
- func (x *SearchUserForAdminReq) GetPaginationOption() *basic.PaginationOptions
- func (*SearchUserForAdminReq) ProtoMessage()
- func (x *SearchUserForAdminReq) ProtoReflect() protoreflect.Message
- func (x *SearchUserForAdminReq) Reset()
- func (x *SearchUserForAdminReq) String() string
- type SearchUserForAdminResp
- func (*SearchUserForAdminResp) Descriptor() ([]byte, []int)deprecated
- func (x *SearchUserForAdminResp) GetToken() string
- func (x *SearchUserForAdminResp) GetTotal() int64
- func (x *SearchUserForAdminResp) GetUsers() []*UserPreviewWithRole
- func (*SearchUserForAdminResp) ProtoMessage()
- func (x *SearchUserForAdminResp) ProtoReflect() protoreflect.Message
- func (x *SearchUserForAdminResp) Reset()
- func (x *SearchUserForAdminResp) String() string
- type SearchUserReq
- func (*SearchUserReq) Descriptor() ([]byte, []int)deprecated
- func (x *SearchUserReq) GetKeyword() string
- func (x *SearchUserReq) GetPaginationOption() *basic.PaginationOptions
- func (*SearchUserReq) ProtoMessage()
- func (x *SearchUserReq) ProtoReflect() protoreflect.Message
- func (x *SearchUserReq) Reset()
- func (x *SearchUserReq) String() string
- type SearchUserResp
- func (*SearchUserResp) Descriptor() ([]byte, []int)deprecated
- func (x *SearchUserResp) GetToken() string
- func (x *SearchUserResp) GetTotal() int64
- func (x *SearchUserResp) GetUsers() []*basic.UserPreview
- func (*SearchUserResp) ProtoMessage()
- func (x *SearchUserResp) ProtoReflect() protoreflect.Message
- func (x *SearchUserResp) Reset()
- func (x *SearchUserResp) String() string
- type SendVerifyCodeReq
- func (*SendVerifyCodeReq) Descriptor() ([]byte, []int)deprecated
- func (x *SendVerifyCodeReq) GetAuthId() string
- func (x *SendVerifyCodeReq) GetAuthType() string
- func (*SendVerifyCodeReq) ProtoMessage()
- func (x *SendVerifyCodeReq) ProtoReflect() protoreflect.Message
- func (x *SendVerifyCodeReq) Reset()
- func (x *SendVerifyCodeReq) String() string
- type SendVerifyCodeResp
- type SetOfficialReq
- func (*SetOfficialReq) Descriptor() ([]byte, []int)deprecated
- func (x *SetOfficialReq) GetIsRemove() bool
- func (x *SetOfficialReq) GetPostId() string
- func (*SetOfficialReq) ProtoMessage()
- func (x *SetOfficialReq) ProtoReflect() protoreflect.Message
- func (x *SetOfficialReq) Reset()
- func (x *SetOfficialReq) String() string
- type SetOfficialResp
- type SetPasswordReq
- func (*SetPasswordReq) Descriptor() ([]byte, []int)deprecated
- func (x *SetPasswordReq) GetPassword() string
- func (x *SetPasswordReq) GetUser() *basic.UserMeta
- func (*SetPasswordReq) ProtoMessage()
- func (x *SetPasswordReq) ProtoReflect() protoreflect.Message
- func (x *SetPasswordReq) Reset()
- func (x *SetPasswordReq) String() string
- type SetPasswordResp
- type SignInReq
- func (*SignInReq) Descriptor() ([]byte, []int)deprecated
- func (x *SignInReq) GetAuthId() string
- func (x *SignInReq) GetAuthType() string
- func (x *SignInReq) GetParams() []string
- func (x *SignInReq) GetPassword() string
- func (*SignInReq) ProtoMessage()
- func (x *SignInReq) ProtoReflect() protoreflect.Message
- func (x *SignInReq) Reset()
- func (x *SignInReq) String() string
- type SignInResp
- func (*SignInResp) Descriptor() ([]byte, []int)deprecated
- func (x *SignInResp) GetAccessExpire() int64
- func (x *SignInResp) GetAccessToken() string
- func (x *SignInResp) GetUserId() string
- func (*SignInResp) ProtoMessage()
- func (x *SignInResp) ProtoReflect() protoreflect.Message
- func (x *SignInResp) Reset()
- func (x *SignInResp) String() string
- type UpdateUserInfoReq
- func (*UpdateUserInfoReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserInfoReq) GetAvatarUrl() string
- func (x *UpdateUserInfoReq) GetMotto() string
- func (x *UpdateUserInfoReq) GetNickname() string
- func (*UpdateUserInfoReq) ProtoMessage()
- func (x *UpdateUserInfoReq) ProtoReflect() protoreflect.Message
- func (x *UpdateUserInfoReq) Reset()
- func (x *UpdateUserInfoReq) String() string
- type UpdateUserInfoResp
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetArticle() int64
- func (x *User) GetAvatarUrl() string
- func (x *User) GetFollower() int64
- func (x *User) GetFollowing() int64
- func (x *User) GetId() string
- func (x *User) GetLike() int64
- func (x *User) GetMotto() string
- func (x *User) GetNickname() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserPreviewWithRole
- func (*UserPreviewWithRole) Descriptor() ([]byte, []int)deprecated
- func (x *UserPreviewWithRole) GetRoles() []*basic.Role
- func (x *UserPreviewWithRole) GetUser() *basic.UserPreview
- func (*UserPreviewWithRole) ProtoMessage()
- func (x *UserPreviewWithRole) ProtoReflect() protoreflect.Message
- func (x *UserPreviewWithRole) Reset()
- func (x *UserPreviewWithRole) String() string
Constants ¶
This section is empty.
Variables ¶
var ( AuthType_name = map[int32]string{ 0: "Wechat", 1: "Email", 2: "Phone", } AuthType_value = map[string]int32{ "Wechat": 0, "Email": 1, "Phone": 2, } )
Enum value maps for AuthType.
var File_core_api_proto protoreflect.FileDescriptor
var File_meowchat_core_api_auth_proto protoreflect.FileDescriptor
var File_meowchat_core_api_collection_proto protoreflect.FileDescriptor
var File_meowchat_core_api_comment_proto protoreflect.FileDescriptor
var File_meowchat_core_api_like_proto protoreflect.FileDescriptor
var File_meowchat_core_api_moment_proto protoreflect.FileDescriptor
var File_meowchat_core_api_post_proto protoreflect.FileDescriptor
var File_meowchat_core_api_sts_proto protoreflect.FileDescriptor
var File_meowchat_core_api_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ApplySignedUrlAsCommunityReq ¶
type ApplySignedUrlAsCommunityReq struct { CommunityId string `protobuf:"bytes,1,opt,name=communityId,proto3" json:"communityId,omitempty" form:"communityId" query:"communityId"` Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty" form:"prefix" query:"prefix"` Suffix string `protobuf:"bytes,3,opt,name=suffix,proto3" json:"suffix,omitempty" form:"suffix" query:"suffix"` // contains filtered or unexported fields }
func (*ApplySignedUrlAsCommunityReq) Descriptor
deprecated
func (*ApplySignedUrlAsCommunityReq) Descriptor() ([]byte, []int)
Deprecated: Use ApplySignedUrlAsCommunityReq.ProtoReflect.Descriptor instead.
func (*ApplySignedUrlAsCommunityReq) GetCommunityId ¶
func (x *ApplySignedUrlAsCommunityReq) GetCommunityId() string
func (*ApplySignedUrlAsCommunityReq) GetPrefix ¶
func (x *ApplySignedUrlAsCommunityReq) GetPrefix() string
func (*ApplySignedUrlAsCommunityReq) GetSuffix ¶
func (x *ApplySignedUrlAsCommunityReq) GetSuffix() string
func (*ApplySignedUrlAsCommunityReq) ProtoMessage ¶
func (*ApplySignedUrlAsCommunityReq) ProtoMessage()
func (*ApplySignedUrlAsCommunityReq) ProtoReflect ¶
func (x *ApplySignedUrlAsCommunityReq) ProtoReflect() protoreflect.Message
func (*ApplySignedUrlAsCommunityReq) Reset ¶
func (x *ApplySignedUrlAsCommunityReq) Reset()
func (*ApplySignedUrlAsCommunityReq) String ¶
func (x *ApplySignedUrlAsCommunityReq) String() string
type ApplySignedUrlAsCommunityResp ¶
type ApplySignedUrlAsCommunityResp struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" form:"url" query:"url"` SessionToken string `protobuf:"bytes,2,opt,name=sessionToken,proto3" json:"sessionToken,omitempty" form:"sessionToken" query:"sessionToken"` // contains filtered or unexported fields }
func (*ApplySignedUrlAsCommunityResp) Descriptor
deprecated
func (*ApplySignedUrlAsCommunityResp) Descriptor() ([]byte, []int)
Deprecated: Use ApplySignedUrlAsCommunityResp.ProtoReflect.Descriptor instead.
func (*ApplySignedUrlAsCommunityResp) GetSessionToken ¶
func (x *ApplySignedUrlAsCommunityResp) GetSessionToken() string
func (*ApplySignedUrlAsCommunityResp) GetUrl ¶
func (x *ApplySignedUrlAsCommunityResp) GetUrl() string
func (*ApplySignedUrlAsCommunityResp) ProtoMessage ¶
func (*ApplySignedUrlAsCommunityResp) ProtoMessage()
func (*ApplySignedUrlAsCommunityResp) ProtoReflect ¶
func (x *ApplySignedUrlAsCommunityResp) ProtoReflect() protoreflect.Message
func (*ApplySignedUrlAsCommunityResp) Reset ¶
func (x *ApplySignedUrlAsCommunityResp) Reset()
func (*ApplySignedUrlAsCommunityResp) String ¶
func (x *ApplySignedUrlAsCommunityResp) String() string
type ApplySignedUrlReq ¶
type ApplySignedUrlReq struct { Prefix *string `protobuf:"bytes,1,opt,name=prefix,proto3,oneof" form:"prefix" json:"prefix,omitempty"` Suffix *string `protobuf:"bytes,2,opt,name=suffix,proto3,oneof" form:"suffix" json:"suffix,omitempty"` // contains filtered or unexported fields }
func (*ApplySignedUrlReq) Descriptor
deprecated
func (*ApplySignedUrlReq) Descriptor() ([]byte, []int)
Deprecated: Use ApplySignedUrlReq.ProtoReflect.Descriptor instead.
func (*ApplySignedUrlReq) GetPrefix ¶
func (x *ApplySignedUrlReq) GetPrefix() string
func (*ApplySignedUrlReq) GetSuffix ¶
func (x *ApplySignedUrlReq) GetSuffix() string
func (*ApplySignedUrlReq) ProtoMessage ¶
func (*ApplySignedUrlReq) ProtoMessage()
func (*ApplySignedUrlReq) ProtoReflect ¶
func (x *ApplySignedUrlReq) ProtoReflect() protoreflect.Message
func (*ApplySignedUrlReq) Reset ¶
func (x *ApplySignedUrlReq) Reset()
func (*ApplySignedUrlReq) String ¶
func (x *ApplySignedUrlReq) String() string
type ApplySignedUrlResp ¶
type ApplySignedUrlResp struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" form:"url" query:"url"` SessionToken string `protobuf:"bytes,2,opt,name=sessionToken,proto3" json:"sessionToken,omitempty" form:"sessionToken" query:"sessionToken"` // contains filtered or unexported fields }
func (*ApplySignedUrlResp) Descriptor
deprecated
func (*ApplySignedUrlResp) Descriptor() ([]byte, []int)
Deprecated: Use ApplySignedUrlResp.ProtoReflect.Descriptor instead.
func (*ApplySignedUrlResp) GetSessionToken ¶
func (x *ApplySignedUrlResp) GetSessionToken() string
func (*ApplySignedUrlResp) GetUrl ¶
func (x *ApplySignedUrlResp) GetUrl() string
func (*ApplySignedUrlResp) ProtoMessage ¶
func (*ApplySignedUrlResp) ProtoMessage()
func (*ApplySignedUrlResp) ProtoReflect ¶
func (x *ApplySignedUrlResp) ProtoReflect() protoreflect.Message
func (*ApplySignedUrlResp) Reset ¶
func (x *ApplySignedUrlResp) Reset()
func (*ApplySignedUrlResp) String ¶
func (x *ApplySignedUrlResp) String() string
type AuthType ¶
type AuthType int32
func (AuthType) Descriptor ¶
func (AuthType) Descriptor() protoreflect.EnumDescriptor
func (AuthType) EnumDescriptor
deprecated
func (AuthType) Number ¶
func (x AuthType) Number() protoreflect.EnumNumber
func (AuthType) Type ¶
func (AuthType) Type() protoreflect.EnumType
type CatPreview ¶
type CatPreview 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"` Area string `protobuf:"bytes,3,opt,name=area,proto3" json:"area,omitempty" form:"area" query:"area"` Color string `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty" form:"color" query:"color"` AvatarUrl string `protobuf:"bytes,5,opt,name=avatarUrl,proto3" json:"avatarUrl,omitempty" form:"avatarUrl" query:"avatarUrl"` IsCollected bool `protobuf:"varint,6,opt,name=isCollected,proto3" json:"isCollected,omitempty" form:"isCollected" query:"isCollected"` // contains filtered or unexported fields }
func (*CatPreview) Descriptor
deprecated
func (*CatPreview) Descriptor() ([]byte, []int)
Deprecated: Use CatPreview.ProtoReflect.Descriptor instead.
func (*CatPreview) GetArea ¶
func (x *CatPreview) GetArea() string
func (*CatPreview) GetAvatarUrl ¶
func (x *CatPreview) GetAvatarUrl() string
func (*CatPreview) GetColor ¶
func (x *CatPreview) GetColor() string
func (*CatPreview) GetId ¶
func (x *CatPreview) GetId() string
func (*CatPreview) GetIsCollected ¶
func (x *CatPreview) GetIsCollected() bool
func (*CatPreview) GetName ¶
func (x *CatPreview) GetName() string
func (*CatPreview) ProtoMessage ¶
func (*CatPreview) ProtoMessage()
func (*CatPreview) ProtoReflect ¶
func (x *CatPreview) ProtoReflect() protoreflect.Message
func (*CatPreview) Reset ¶
func (x *CatPreview) Reset()
func (*CatPreview) String ¶
func (x *CatPreview) String() string
type Comment ¶
type Comment struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" form:"id" query:"id"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty" form:"text" query:"text"` User *basic.UserPreview `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty" form:"user" query:"user"` ReplyName string `protobuf:"bytes,4,opt,name=replyName,proto3" json:"replyName,omitempty" form:"replyName" query:"replyName"` Comments int64 `protobuf:"varint,5,opt,name=comments,proto3" json:"comments,omitempty" form:"comments" query:"comments"` UpdateAt int64 `protobuf:"varint,6,opt,name=updateAt,proto3" json:"updateAt,omitempty" form:"updateAt" query:"updateAt"` CreateAt int64 `protobuf:"varint,7,opt,name=createAt,proto3" json:"createAt,omitempty" form:"createAt" query:"createAt"` // contains filtered or unexported fields }
func (*Comment) Descriptor
deprecated
func (*Comment) GetComments ¶
func (*Comment) GetCreateAt ¶
func (*Comment) GetReplyName ¶
func (*Comment) GetUpdateAt ¶
func (*Comment) GetUser ¶
func (x *Comment) GetUser() *basic.UserPreview
func (*Comment) ProtoMessage ¶
func (*Comment) ProtoMessage()
func (*Comment) ProtoReflect ¶
func (x *Comment) ProtoReflect() protoreflect.Message
type CreateImageReq ¶
type CreateImageReq struct { Images []*collection.CreateImageElement `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty" form:"images" query:"images"` // contains filtered or unexported fields }
func (*CreateImageReq) Descriptor
deprecated
func (*CreateImageReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateImageReq.ProtoReflect.Descriptor instead.
func (*CreateImageReq) GetImages ¶
func (x *CreateImageReq) GetImages() []*collection.CreateImageElement
func (*CreateImageReq) ProtoMessage ¶
func (*CreateImageReq) ProtoMessage()
func (*CreateImageReq) ProtoReflect ¶
func (x *CreateImageReq) ProtoReflect() protoreflect.Message
func (*CreateImageReq) Reset ¶
func (x *CreateImageReq) Reset()
func (*CreateImageReq) String ¶
func (x *CreateImageReq) String() string
type CreateImageResp ¶
type CreateImageResp struct { ImageIds []string `protobuf:"bytes,1,rep,name=imageIds,proto3" json:"imageIds,omitempty" form:"imageIds" query:"imageIds"` // contains filtered or unexported fields }
func (*CreateImageResp) Descriptor
deprecated
func (*CreateImageResp) Descriptor() ([]byte, []int)
Deprecated: Use CreateImageResp.ProtoReflect.Descriptor instead.
func (*CreateImageResp) GetImageIds ¶
func (x *CreateImageResp) GetImageIds() []string
func (*CreateImageResp) ProtoMessage ¶
func (*CreateImageResp) ProtoMessage()
func (*CreateImageResp) ProtoReflect ¶
func (x *CreateImageResp) ProtoReflect() protoreflect.Message
func (*CreateImageResp) Reset ¶
func (x *CreateImageResp) Reset()
func (*CreateImageResp) String ¶
func (x *CreateImageResp) String() string
type DeleteCatReq ¶
type DeleteCatReq struct { CatId string `protobuf:"bytes,1,opt,name=catId,proto3" json:"catId,omitempty" form:"catId" query:"catId"` // contains filtered or unexported fields }
func (*DeleteCatReq) Descriptor
deprecated
func (*DeleteCatReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCatReq.ProtoReflect.Descriptor instead.
func (*DeleteCatReq) GetCatId ¶
func (x *DeleteCatReq) GetCatId() string
func (*DeleteCatReq) ProtoMessage ¶
func (*DeleteCatReq) ProtoMessage()
func (*DeleteCatReq) ProtoReflect ¶
func (x *DeleteCatReq) ProtoReflect() protoreflect.Message
func (*DeleteCatReq) Reset ¶
func (x *DeleteCatReq) Reset()
func (*DeleteCatReq) String ¶
func (x *DeleteCatReq) String() string
type DeleteCatResp ¶
type DeleteCatResp struct {
// contains filtered or unexported fields
}
func (*DeleteCatResp) Descriptor
deprecated
func (*DeleteCatResp) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCatResp.ProtoReflect.Descriptor instead.
func (*DeleteCatResp) ProtoMessage ¶
func (*DeleteCatResp) ProtoMessage()
func (*DeleteCatResp) ProtoReflect ¶
func (x *DeleteCatResp) ProtoReflect() protoreflect.Message
func (*DeleteCatResp) Reset ¶
func (x *DeleteCatResp) Reset()
func (*DeleteCatResp) String ¶
func (x *DeleteCatResp) String() string
type DeleteCommentReq ¶
type DeleteCommentReq struct { CommentId string `protobuf:"bytes,1,opt,name=commentId,proto3" json:"commentId,omitempty" form:"commentId" query:"commentId"` // contains filtered or unexported fields }
func (*DeleteCommentReq) Descriptor
deprecated
func (*DeleteCommentReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCommentReq.ProtoReflect.Descriptor instead.
func (*DeleteCommentReq) GetCommentId ¶
func (x *DeleteCommentReq) GetCommentId() string
func (*DeleteCommentReq) ProtoMessage ¶
func (*DeleteCommentReq) ProtoMessage()
func (*DeleteCommentReq) ProtoReflect ¶
func (x *DeleteCommentReq) ProtoReflect() protoreflect.Message
func (*DeleteCommentReq) Reset ¶
func (x *DeleteCommentReq) Reset()
func (*DeleteCommentReq) String ¶
func (x *DeleteCommentReq) String() string
type DeleteCommentResp ¶
type DeleteCommentResp struct {
// contains filtered or unexported fields
}
func (*DeleteCommentResp) Descriptor
deprecated
func (*DeleteCommentResp) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCommentResp.ProtoReflect.Descriptor instead.
func (*DeleteCommentResp) ProtoMessage ¶
func (*DeleteCommentResp) ProtoMessage()
func (*DeleteCommentResp) ProtoReflect ¶
func (x *DeleteCommentResp) ProtoReflect() protoreflect.Message
func (*DeleteCommentResp) Reset ¶
func (x *DeleteCommentResp) Reset()
func (*DeleteCommentResp) String ¶
func (x *DeleteCommentResp) String() string
type DeleteImageReq ¶
type DeleteImageReq struct { ImageId string `protobuf:"bytes,1,opt,name=imageId,proto3" json:"imageId,omitempty" form:"imageId" query:"imageId"` // contains filtered or unexported fields }
func (*DeleteImageReq) Descriptor
deprecated
func (*DeleteImageReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteImageReq.ProtoReflect.Descriptor instead.
func (*DeleteImageReq) GetImageId ¶
func (x *DeleteImageReq) GetImageId() string
func (*DeleteImageReq) ProtoMessage ¶
func (*DeleteImageReq) ProtoMessage()
func (*DeleteImageReq) ProtoReflect ¶
func (x *DeleteImageReq) ProtoReflect() protoreflect.Message
func (*DeleteImageReq) Reset ¶
func (x *DeleteImageReq) Reset()
func (*DeleteImageReq) String ¶
func (x *DeleteImageReq) String() string
type DeleteImageResp ¶
type DeleteImageResp struct {
// contains filtered or unexported fields
}
func (*DeleteImageResp) Descriptor
deprecated
func (*DeleteImageResp) Descriptor() ([]byte, []int)
Deprecated: Use DeleteImageResp.ProtoReflect.Descriptor instead.
func (*DeleteImageResp) ProtoMessage ¶
func (*DeleteImageResp) ProtoMessage()
func (*DeleteImageResp) ProtoReflect ¶
func (x *DeleteImageResp) ProtoReflect() protoreflect.Message
func (*DeleteImageResp) Reset ¶
func (x *DeleteImageResp) Reset()
func (*DeleteImageResp) String ¶
func (x *DeleteImageResp) String() string
type DeleteMomentReq ¶
type DeleteMomentReq struct { MomentId string `protobuf:"bytes,1,opt,name=momentId,proto3" json:"momentId,omitempty" form:"momentId" query:"momentId"` // contains filtered or unexported fields }
func (*DeleteMomentReq) Descriptor
deprecated
func (*DeleteMomentReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMomentReq.ProtoReflect.Descriptor instead.
func (*DeleteMomentReq) GetMomentId ¶
func (x *DeleteMomentReq) GetMomentId() string
func (*DeleteMomentReq) ProtoMessage ¶
func (*DeleteMomentReq) ProtoMessage()
func (*DeleteMomentReq) ProtoReflect ¶
func (x *DeleteMomentReq) ProtoReflect() protoreflect.Message
func (*DeleteMomentReq) Reset ¶
func (x *DeleteMomentReq) Reset()
func (*DeleteMomentReq) String ¶
func (x *DeleteMomentReq) String() string
type DeleteMomentResp ¶
type DeleteMomentResp struct {
// contains filtered or unexported fields
}
func (*DeleteMomentResp) Descriptor
deprecated
func (*DeleteMomentResp) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMomentResp.ProtoReflect.Descriptor instead.
func (*DeleteMomentResp) ProtoMessage ¶
func (*DeleteMomentResp) ProtoMessage()
func (*DeleteMomentResp) ProtoReflect ¶
func (x *DeleteMomentResp) ProtoReflect() protoreflect.Message
func (*DeleteMomentResp) Reset ¶
func (x *DeleteMomentResp) Reset()
func (*DeleteMomentResp) String ¶
func (x *DeleteMomentResp) String() string
type DeletePostReq ¶
type DeletePostReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" form:"id" query:"id"` // contains filtered or unexported fields }
func (*DeletePostReq) Descriptor
deprecated
func (*DeletePostReq) Descriptor() ([]byte, []int)
Deprecated: Use DeletePostReq.ProtoReflect.Descriptor instead.
func (*DeletePostReq) GetId ¶
func (x *DeletePostReq) GetId() string
func (*DeletePostReq) ProtoMessage ¶
func (*DeletePostReq) ProtoMessage()
func (*DeletePostReq) ProtoReflect ¶
func (x *DeletePostReq) ProtoReflect() protoreflect.Message
func (*DeletePostReq) Reset ¶
func (x *DeletePostReq) Reset()
func (*DeletePostReq) String ¶
func (x *DeletePostReq) String() string
type DeletePostResp ¶
type DeletePostResp struct {
// contains filtered or unexported fields
}
func (*DeletePostResp) Descriptor
deprecated
func (*DeletePostResp) Descriptor() ([]byte, []int)
Deprecated: Use DeletePostResp.ProtoReflect.Descriptor instead.
func (*DeletePostResp) ProtoMessage ¶
func (*DeletePostResp) ProtoMessage()
func (*DeletePostResp) ProtoReflect ¶
func (x *DeletePostResp) ProtoReflect() protoreflect.Message
func (*DeletePostResp) Reset ¶
func (x *DeletePostResp) Reset()
func (*DeletePostResp) String ¶
func (x *DeletePostResp) String() string
type DoLikeReq ¶
type DoLikeReq struct { TargetId string `protobuf:"bytes,1,opt,name=targetId,proto3" json:"targetId,omitempty" form:"targetId" query:"targetId"` TargetType int64 `protobuf:"varint,2,opt,name=targetType,proto3" json:"targetType,omitempty" form:"targetType" query:"targetType"` // contains filtered or unexported fields }
func (*DoLikeReq) Descriptor
deprecated
func (*DoLikeReq) GetTargetId ¶
func (*DoLikeReq) GetTargetType ¶
func (*DoLikeReq) ProtoMessage ¶
func (*DoLikeReq) ProtoMessage()
func (*DoLikeReq) ProtoReflect ¶
func (x *DoLikeReq) ProtoReflect() protoreflect.Message
type DoLikeResp ¶
type DoLikeResp struct {
// contains filtered or unexported fields
}
func (*DoLikeResp) Descriptor
deprecated
func (*DoLikeResp) Descriptor() ([]byte, []int)
Deprecated: Use DoLikeResp.ProtoReflect.Descriptor instead.
func (*DoLikeResp) ProtoMessage ¶
func (*DoLikeResp) ProtoMessage()
func (*DoLikeResp) ProtoReflect ¶
func (x *DoLikeResp) ProtoReflect() protoreflect.Message
func (*DoLikeResp) Reset ¶
func (x *DoLikeResp) Reset()
func (*DoLikeResp) String ¶
func (x *DoLikeResp) String() string
type GetCatDetailReq ¶
type GetCatDetailReq struct { CatId string `protobuf:"bytes,1,opt,name=catId,proto3" json:"catId,omitempty" form:"catId" query:"catId"` // contains filtered or unexported fields }
func (*GetCatDetailReq) Descriptor
deprecated
func (*GetCatDetailReq) Descriptor() ([]byte, []int)
Deprecated: Use GetCatDetailReq.ProtoReflect.Descriptor instead.
func (*GetCatDetailReq) GetCatId ¶
func (x *GetCatDetailReq) GetCatId() string
func (*GetCatDetailReq) ProtoMessage ¶
func (*GetCatDetailReq) ProtoMessage()
func (*GetCatDetailReq) ProtoReflect ¶
func (x *GetCatDetailReq) ProtoReflect() protoreflect.Message
func (*GetCatDetailReq) Reset ¶
func (x *GetCatDetailReq) Reset()
func (*GetCatDetailReq) String ¶
func (x *GetCatDetailReq) String() string
type GetCatDetailResp ¶
type GetCatDetailResp struct { Cat *collection.Cat `protobuf:"bytes,1,opt,name=cat,proto3" json:"cat,omitempty" form:"cat" query:"cat"` // contains filtered or unexported fields }
func (*GetCatDetailResp) Descriptor
deprecated
func (*GetCatDetailResp) Descriptor() ([]byte, []int)
Deprecated: Use GetCatDetailResp.ProtoReflect.Descriptor instead.
func (*GetCatDetailResp) GetCat ¶
func (x *GetCatDetailResp) GetCat() *collection.Cat
func (*GetCatDetailResp) ProtoMessage ¶
func (*GetCatDetailResp) ProtoMessage()
func (*GetCatDetailResp) ProtoReflect ¶
func (x *GetCatDetailResp) ProtoReflect() protoreflect.Message
func (*GetCatDetailResp) Reset ¶
func (x *GetCatDetailResp) Reset()
func (*GetCatDetailResp) String ¶
func (x *GetCatDetailResp) String() string
type GetCatPreviewsReq ¶
type GetCatPreviewsReq struct { CommunityId string `protobuf:"bytes,1,opt,name=communityId,proto3" json:"communityId,omitempty" form:"communityId" query:"communityId"` Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty" form:"page" query:"page"` // contains filtered or unexported fields }
func (*GetCatPreviewsReq) Descriptor
deprecated
func (*GetCatPreviewsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetCatPreviewsReq.ProtoReflect.Descriptor instead.
func (*GetCatPreviewsReq) GetCommunityId ¶
func (x *GetCatPreviewsReq) GetCommunityId() string
func (*GetCatPreviewsReq) GetPage ¶
func (x *GetCatPreviewsReq) GetPage() int64
func (*GetCatPreviewsReq) ProtoMessage ¶
func (*GetCatPreviewsReq) ProtoMessage()
func (*GetCatPreviewsReq) ProtoReflect ¶
func (x *GetCatPreviewsReq) ProtoReflect() protoreflect.Message
func (*GetCatPreviewsReq) Reset ¶
func (x *GetCatPreviewsReq) Reset()
func (*GetCatPreviewsReq) String ¶
func (x *GetCatPreviewsReq) String() string
type GetCatPreviewsResp ¶
type GetCatPreviewsResp struct { Cats []*CatPreview `protobuf:"bytes,1,rep,name=cats,proto3" json:"cats,omitempty" form:"cats" query:"cats"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty" form:"total" query:"total"` // contains filtered or unexported fields }
func (*GetCatPreviewsResp) Descriptor
deprecated
func (*GetCatPreviewsResp) Descriptor() ([]byte, []int)
Deprecated: Use GetCatPreviewsResp.ProtoReflect.Descriptor instead.
func (*GetCatPreviewsResp) GetCats ¶
func (x *GetCatPreviewsResp) GetCats() []*CatPreview
func (*GetCatPreviewsResp) GetTotal ¶
func (x *GetCatPreviewsResp) GetTotal() int64
func (*GetCatPreviewsResp) ProtoMessage ¶
func (*GetCatPreviewsResp) ProtoMessage()
func (*GetCatPreviewsResp) ProtoReflect ¶
func (x *GetCatPreviewsResp) ProtoReflect() protoreflect.Message
func (*GetCatPreviewsResp) Reset ¶
func (x *GetCatPreviewsResp) Reset()
func (*GetCatPreviewsResp) String ¶
func (x *GetCatPreviewsResp) String() string
type GetCommentsReq ¶
type GetCommentsReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" form:"id" query:"id"` Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty" form:"scope" query:"scope"` Page int64 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty" form:"page" query:"page"` // contains filtered or unexported fields }
func (*GetCommentsReq) Descriptor
deprecated
func (*GetCommentsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetCommentsReq.ProtoReflect.Descriptor instead.
func (*GetCommentsReq) GetId ¶
func (x *GetCommentsReq) GetId() string
func (*GetCommentsReq) GetPage ¶
func (x *GetCommentsReq) GetPage() int64
func (*GetCommentsReq) GetScope ¶
func (x *GetCommentsReq) GetScope() string
func (*GetCommentsReq) ProtoMessage ¶
func (*GetCommentsReq) ProtoMessage()
func (*GetCommentsReq) ProtoReflect ¶
func (x *GetCommentsReq) ProtoReflect() protoreflect.Message
func (*GetCommentsReq) Reset ¶
func (x *GetCommentsReq) Reset()
func (*GetCommentsReq) String ¶
func (x *GetCommentsReq) String() string
type GetCommentsResp ¶
type GetCommentsResp struct { Comments []*Comment `protobuf:"bytes,1,rep,name=comments,proto3" json:"comments,omitempty" form:"comments" query:"comments"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty" form:"total" query:"total"` // contains filtered or unexported fields }
func (*GetCommentsResp) Descriptor
deprecated
func (*GetCommentsResp) Descriptor() ([]byte, []int)
Deprecated: Use GetCommentsResp.ProtoReflect.Descriptor instead.
func (*GetCommentsResp) GetComments ¶
func (x *GetCommentsResp) GetComments() []*Comment
func (*GetCommentsResp) GetTotal ¶
func (x *GetCommentsResp) GetTotal() int64
func (*GetCommentsResp) ProtoMessage ¶
func (*GetCommentsResp) ProtoMessage()
func (*GetCommentsResp) ProtoReflect ¶
func (x *GetCommentsResp) ProtoReflect() protoreflect.Message
func (*GetCommentsResp) Reset ¶
func (x *GetCommentsResp) Reset()
func (*GetCommentsResp) String ¶
func (x *GetCommentsResp) String() string
type GetImageByCatReq ¶
type GetImageByCatReq struct { CatId string `protobuf:"bytes,1,opt,name=catId,proto3" json:"catId,omitempty" form:"catId" query:"catId"` PrevId *string `protobuf:"bytes,2,opt,name=prevId,proto3,oneof" json:"prevId,omitempty" form:"prevId" query:"prevId"` Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty" form:"limit" query:"limit"` Offset int64 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty" form:"offset" query:"offset"` Backward bool `protobuf:"varint,5,opt,name=backward,proto3" json:"backward,omitempty" form:"backward" query:"backward"` // contains filtered or unexported fields }
func (*GetImageByCatReq) Descriptor
deprecated
func (*GetImageByCatReq) Descriptor() ([]byte, []int)
Deprecated: Use GetImageByCatReq.ProtoReflect.Descriptor instead.
func (*GetImageByCatReq) GetBackward ¶
func (x *GetImageByCatReq) GetBackward() bool
func (*GetImageByCatReq) GetCatId ¶
func (x *GetImageByCatReq) GetCatId() string
func (*GetImageByCatReq) GetLimit ¶
func (x *GetImageByCatReq) GetLimit() int64
func (*GetImageByCatReq) GetOffset ¶
func (x *GetImageByCatReq) GetOffset() int64
func (*GetImageByCatReq) GetPrevId ¶
func (x *GetImageByCatReq) GetPrevId() string
func (*GetImageByCatReq) ProtoMessage ¶
func (*GetImageByCatReq) ProtoMessage()
func (*GetImageByCatReq) ProtoReflect ¶
func (x *GetImageByCatReq) ProtoReflect() protoreflect.Message
func (*GetImageByCatReq) Reset ¶
func (x *GetImageByCatReq) Reset()
func (*GetImageByCatReq) String ¶
func (x *GetImageByCatReq) String() string
type GetImageByCatResp ¶
type GetImageByCatResp struct { Images []*collection.Image `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty" form:"images" query:"images"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty" form:"total" query:"total"` // contains filtered or unexported fields }
func (*GetImageByCatResp) Descriptor
deprecated
func (*GetImageByCatResp) Descriptor() ([]byte, []int)
Deprecated: Use GetImageByCatResp.ProtoReflect.Descriptor instead.
func (*GetImageByCatResp) GetImages ¶
func (x *GetImageByCatResp) GetImages() []*collection.Image
func (*GetImageByCatResp) GetTotal ¶
func (x *GetImageByCatResp) GetTotal() int64
func (*GetImageByCatResp) ProtoMessage ¶
func (*GetImageByCatResp) ProtoMessage()
func (*GetImageByCatResp) ProtoReflect ¶
func (x *GetImageByCatResp) ProtoReflect() protoreflect.Message
func (*GetImageByCatResp) Reset ¶
func (x *GetImageByCatResp) Reset()
func (*GetImageByCatResp) String ¶
func (x *GetImageByCatResp) String() string
type GetLikedCountReq ¶
type GetLikedCountReq struct { TargetId string `protobuf:"bytes,1,opt,name=targetId,proto3" json:"targetId,omitempty" form:"targetId" query:"targetId"` TargetType int64 `protobuf:"varint,2,opt,name=targetType,proto3" json:"targetType,omitempty" form:"targetType" query:"targetType"` // contains filtered or unexported fields }
func (*GetLikedCountReq) Descriptor
deprecated
func (*GetLikedCountReq) Descriptor() ([]byte, []int)
Deprecated: Use GetLikedCountReq.ProtoReflect.Descriptor instead.
func (*GetLikedCountReq) GetTargetId ¶
func (x *GetLikedCountReq) GetTargetId() string
func (*GetLikedCountReq) GetTargetType ¶
func (x *GetLikedCountReq) GetTargetType() int64
func (*GetLikedCountReq) ProtoMessage ¶
func (*GetLikedCountReq) ProtoMessage()
func (*GetLikedCountReq) ProtoReflect ¶
func (x *GetLikedCountReq) ProtoReflect() protoreflect.Message
func (*GetLikedCountReq) Reset ¶
func (x *GetLikedCountReq) Reset()
func (*GetLikedCountReq) String ¶
func (x *GetLikedCountReq) String() string
type GetLikedCountResp ¶
type GetLikedCountResp struct { Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty" form:"count" query:"count"` // contains filtered or unexported fields }
func (*GetLikedCountResp) Descriptor
deprecated
func (*GetLikedCountResp) Descriptor() ([]byte, []int)
Deprecated: Use GetLikedCountResp.ProtoReflect.Descriptor instead.
func (*GetLikedCountResp) GetCount ¶
func (x *GetLikedCountResp) GetCount() int64
func (*GetLikedCountResp) ProtoMessage ¶
func (*GetLikedCountResp) ProtoMessage()
func (*GetLikedCountResp) ProtoReflect ¶
func (x *GetLikedCountResp) ProtoReflect() protoreflect.Message
func (*GetLikedCountResp) Reset ¶
func (x *GetLikedCountResp) Reset()
func (*GetLikedCountResp) String ¶
func (x *GetLikedCountResp) String() string
type GetLikedUsersReq ¶
type GetLikedUsersReq struct { TargetId string `protobuf:"bytes,1,opt,name=targetId,proto3" json:"targetId,omitempty" form:"targetId" query:"targetId"` TargetType int64 `protobuf:"varint,2,opt,name=targetType,proto3" json:"targetType,omitempty" form:"targetType" query:"targetType"` // contains filtered or unexported fields }
func (*GetLikedUsersReq) Descriptor
deprecated
func (*GetLikedUsersReq) Descriptor() ([]byte, []int)
Deprecated: Use GetLikedUsersReq.ProtoReflect.Descriptor instead.
func (*GetLikedUsersReq) GetTargetId ¶
func (x *GetLikedUsersReq) GetTargetId() string
func (*GetLikedUsersReq) GetTargetType ¶
func (x *GetLikedUsersReq) GetTargetType() int64
func (*GetLikedUsersReq) ProtoMessage ¶
func (*GetLikedUsersReq) ProtoMessage()
func (*GetLikedUsersReq) ProtoReflect ¶
func (x *GetLikedUsersReq) ProtoReflect() protoreflect.Message
func (*GetLikedUsersReq) Reset ¶
func (x *GetLikedUsersReq) Reset()
func (*GetLikedUsersReq) String ¶
func (x *GetLikedUsersReq) String() string
type GetLikedUsersResp ¶
type GetLikedUsersResp struct { Users []*basic.UserPreview `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty" form:"users" query:"users"` // contains filtered or unexported fields }
func (*GetLikedUsersResp) Descriptor
deprecated
func (*GetLikedUsersResp) Descriptor() ([]byte, []int)
Deprecated: Use GetLikedUsersResp.ProtoReflect.Descriptor instead.
func (*GetLikedUsersResp) GetUsers ¶
func (x *GetLikedUsersResp) GetUsers() []*basic.UserPreview
func (*GetLikedUsersResp) ProtoMessage ¶
func (*GetLikedUsersResp) ProtoMessage()
func (*GetLikedUsersResp) ProtoReflect ¶
func (x *GetLikedUsersResp) ProtoReflect() protoreflect.Message
func (*GetLikedUsersResp) Reset ¶
func (x *GetLikedUsersResp) Reset()
func (*GetLikedUsersResp) String ¶
func (x *GetLikedUsersResp) String() string
type GetMomentDetailReq ¶
type GetMomentDetailReq struct { MomentId string `protobuf:"bytes,1,opt,name=momentId,proto3" json:"momentId,omitempty" form:"momentId" query:"momentId"` // contains filtered or unexported fields }
func (*GetMomentDetailReq) Descriptor
deprecated
func (*GetMomentDetailReq) Descriptor() ([]byte, []int)
Deprecated: Use GetMomentDetailReq.ProtoReflect.Descriptor instead.
func (*GetMomentDetailReq) GetMomentId ¶
func (x *GetMomentDetailReq) GetMomentId() string
func (*GetMomentDetailReq) ProtoMessage ¶
func (*GetMomentDetailReq) ProtoMessage()
func (*GetMomentDetailReq) ProtoReflect ¶
func (x *GetMomentDetailReq) ProtoReflect() protoreflect.Message
func (*GetMomentDetailReq) Reset ¶
func (x *GetMomentDetailReq) Reset()
func (*GetMomentDetailReq) String ¶
func (x *GetMomentDetailReq) String() string
type GetMomentDetailResp ¶
type GetMomentDetailResp struct { Moment *Moment `protobuf:"bytes,1,opt,name=moment,proto3" json:"moment,omitempty" form:"moment" query:"moment"` // contains filtered or unexported fields }
func (*GetMomentDetailResp) Descriptor
deprecated
func (*GetMomentDetailResp) Descriptor() ([]byte, []int)
Deprecated: Use GetMomentDetailResp.ProtoReflect.Descriptor instead.
func (*GetMomentDetailResp) GetMoment ¶
func (x *GetMomentDetailResp) GetMoment() *Moment
func (*GetMomentDetailResp) ProtoMessage ¶
func (*GetMomentDetailResp) ProtoMessage()
func (*GetMomentDetailResp) ProtoReflect ¶
func (x *GetMomentDetailResp) ProtoReflect() protoreflect.Message
func (*GetMomentDetailResp) Reset ¶
func (x *GetMomentDetailResp) Reset()
func (*GetMomentDetailResp) String ¶
func (x *GetMomentDetailResp) String() string
type GetMomentPreviewsReq ¶
type GetMomentPreviewsReq struct { CommunityId *string `protobuf:"bytes,1,opt,name=communityId,proto3,oneof" json:"communityId,omitempty" form:"communityId" query:"communityId"` IsParent *bool `protobuf:"varint,2,opt,name=isParent,proto3,oneof" json:"isParent,omitempty" form:"isParent" query:"isParent"` OnlyUserId *string `protobuf:"bytes,3,opt,name=onlyUserId,proto3,oneof" json:"onlyUserId,omitempty" form:"onlyUserId" query:"onlyUserId"` PaginationOption *basic.PaginationOptions `protobuf:"bytes,4,opt,name=paginationOption,proto3" form:",inline" json:",inline,omitempty"` // contains filtered or unexported fields }
func (*GetMomentPreviewsReq) Descriptor
deprecated
func (*GetMomentPreviewsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetMomentPreviewsReq.ProtoReflect.Descriptor instead.
func (*GetMomentPreviewsReq) GetCommunityId ¶
func (x *GetMomentPreviewsReq) GetCommunityId() string
func (*GetMomentPreviewsReq) GetIsParent ¶
func (x *GetMomentPreviewsReq) GetIsParent() bool
func (*GetMomentPreviewsReq) GetOnlyUserId ¶
func (x *GetMomentPreviewsReq) GetOnlyUserId() string
func (*GetMomentPreviewsReq) GetPaginationOption ¶
func (x *GetMomentPreviewsReq) GetPaginationOption() *basic.PaginationOptions
func (*GetMomentPreviewsReq) ProtoMessage ¶
func (*GetMomentPreviewsReq) ProtoMessage()
func (*GetMomentPreviewsReq) ProtoReflect ¶
func (x *GetMomentPreviewsReq) ProtoReflect() protoreflect.Message
func (*GetMomentPreviewsReq) Reset ¶
func (x *GetMomentPreviewsReq) Reset()
func (*GetMomentPreviewsReq) String ¶
func (x *GetMomentPreviewsReq) String() string
type GetMomentPreviewsResp ¶
type GetMomentPreviewsResp struct { Moments []*Moment `protobuf:"bytes,1,rep,name=moments,proto3" json:"moments,omitempty" form:"moments" query:"moments"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty" form:"total" query:"total"` // contains filtered or unexported fields }
func (*GetMomentPreviewsResp) Descriptor
deprecated
func (*GetMomentPreviewsResp) Descriptor() ([]byte, []int)
Deprecated: Use GetMomentPreviewsResp.ProtoReflect.Descriptor instead.
func (*GetMomentPreviewsResp) GetMoments ¶
func (x *GetMomentPreviewsResp) GetMoments() []*Moment
func (*GetMomentPreviewsResp) GetTotal ¶
func (x *GetMomentPreviewsResp) GetTotal() int64
func (*GetMomentPreviewsResp) ProtoMessage ¶
func (*GetMomentPreviewsResp) ProtoMessage()
func (*GetMomentPreviewsResp) ProtoReflect ¶
func (x *GetMomentPreviewsResp) ProtoReflect() protoreflect.Message
func (*GetMomentPreviewsResp) Reset ¶
func (x *GetMomentPreviewsResp) Reset()
func (*GetMomentPreviewsResp) String ¶
func (x *GetMomentPreviewsResp) String() string
type GetPostDetailReq ¶
type GetPostDetailReq struct { PostId string `protobuf:"bytes,1,opt,name=postId,proto3" json:"postId,omitempty" form:"postId" query:"postId"` // contains filtered or unexported fields }
func (*GetPostDetailReq) Descriptor
deprecated
func (*GetPostDetailReq) Descriptor() ([]byte, []int)
Deprecated: Use GetPostDetailReq.ProtoReflect.Descriptor instead.
func (*GetPostDetailReq) GetPostId ¶
func (x *GetPostDetailReq) GetPostId() string
func (*GetPostDetailReq) ProtoMessage ¶
func (*GetPostDetailReq) ProtoMessage()
func (*GetPostDetailReq) ProtoReflect ¶
func (x *GetPostDetailReq) ProtoReflect() protoreflect.Message
func (*GetPostDetailReq) Reset ¶
func (x *GetPostDetailReq) Reset()
func (*GetPostDetailReq) String ¶
func (x *GetPostDetailReq) String() string
type GetPostDetailResp ¶
type GetPostDetailResp struct { Post *Post `protobuf:"bytes,1,opt,name=post,proto3" json:"post,omitempty" form:"post" query:"post"` // contains filtered or unexported fields }
func (*GetPostDetailResp) Descriptor
deprecated
func (*GetPostDetailResp) Descriptor() ([]byte, []int)
Deprecated: Use GetPostDetailResp.ProtoReflect.Descriptor instead.
func (*GetPostDetailResp) GetPost ¶
func (x *GetPostDetailResp) GetPost() *Post
func (*GetPostDetailResp) ProtoMessage ¶
func (*GetPostDetailResp) ProtoMessage()
func (*GetPostDetailResp) ProtoReflect ¶
func (x *GetPostDetailResp) ProtoReflect() protoreflect.Message
func (*GetPostDetailResp) Reset ¶
func (x *GetPostDetailResp) Reset()
func (*GetPostDetailResp) String ¶
func (x *GetPostDetailResp) String() string
type GetPostPreviewsReq ¶
type GetPostPreviewsReq struct { PaginationOption *basic.PaginationOptions `protobuf:"bytes,1,opt,name=paginationOption,proto3" form:",inline" json:",inline,omitempty"` OnlyOfficial *bool `protobuf:"varint,2,opt,name=onlyOfficial,proto3,oneof" json:"onlyOfficial,omitempty" form:"onlyOfficial" query:"onlyOfficial"` OnlyUserId *string `protobuf:"bytes,3,opt,name=onlyUserId,proto3,oneof" json:"onlyUserId,omitempty" form:"onlyUserId" query:"onlyUserId"` SearchOptions *SearchOptions `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetPostPreviewsReq) Descriptor
deprecated
func (*GetPostPreviewsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetPostPreviewsReq.ProtoReflect.Descriptor instead.
func (*GetPostPreviewsReq) GetOnlyOfficial ¶
func (x *GetPostPreviewsReq) GetOnlyOfficial() bool
func (*GetPostPreviewsReq) GetOnlyUserId ¶
func (x *GetPostPreviewsReq) GetOnlyUserId() string
func (*GetPostPreviewsReq) GetPaginationOption ¶
func (x *GetPostPreviewsReq) GetPaginationOption() *basic.PaginationOptions
func (*GetPostPreviewsReq) GetSearchOptions ¶
func (x *GetPostPreviewsReq) GetSearchOptions() *SearchOptions
func (*GetPostPreviewsReq) ProtoMessage ¶
func (*GetPostPreviewsReq) ProtoMessage()
func (*GetPostPreviewsReq) ProtoReflect ¶
func (x *GetPostPreviewsReq) ProtoReflect() protoreflect.Message
func (*GetPostPreviewsReq) Reset ¶
func (x *GetPostPreviewsReq) Reset()
func (*GetPostPreviewsReq) String ¶
func (x *GetPostPreviewsReq) String() string
type GetPostPreviewsResp ¶
type GetPostPreviewsResp struct { Posts []*Post `protobuf:"bytes,1,rep,name=posts,proto3" json:"posts,omitempty" form:"posts" query:"posts"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty" form:"total" query:"total"` Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty" form:"token" query:"token"` // contains filtered or unexported fields }
func (*GetPostPreviewsResp) Descriptor
deprecated
func (*GetPostPreviewsResp) Descriptor() ([]byte, []int)
Deprecated: Use GetPostPreviewsResp.ProtoReflect.Descriptor instead.
func (*GetPostPreviewsResp) GetPosts ¶
func (x *GetPostPreviewsResp) GetPosts() []*Post
func (*GetPostPreviewsResp) GetToken ¶
func (x *GetPostPreviewsResp) GetToken() string
func (*GetPostPreviewsResp) GetTotal ¶
func (x *GetPostPreviewsResp) GetTotal() int64
func (*GetPostPreviewsResp) ProtoMessage ¶
func (*GetPostPreviewsResp) ProtoMessage()
func (*GetPostPreviewsResp) ProtoReflect ¶
func (x *GetPostPreviewsResp) ProtoReflect() protoreflect.Message
func (*GetPostPreviewsResp) Reset ¶
func (x *GetPostPreviewsResp) Reset()
func (*GetPostPreviewsResp) String ¶
func (x *GetPostPreviewsResp) String() string
type GetUserInfoReq ¶
type GetUserInfoReq struct { UserId *string `protobuf:"bytes,1,opt,name=userId,proto3,oneof" json:"userId,omitempty" form:"userId" query:"userId"` // contains filtered or unexported fields }
func (*GetUserInfoReq) Descriptor
deprecated
func (*GetUserInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use GetUserInfoReq.ProtoReflect.Descriptor instead.
func (*GetUserInfoReq) GetUserId ¶
func (x *GetUserInfoReq) GetUserId() string
func (*GetUserInfoReq) ProtoMessage ¶
func (*GetUserInfoReq) ProtoMessage()
func (*GetUserInfoReq) ProtoReflect ¶
func (x *GetUserInfoReq) ProtoReflect() protoreflect.Message
func (*GetUserInfoReq) Reset ¶
func (x *GetUserInfoReq) Reset()
func (*GetUserInfoReq) String ¶
func (x *GetUserInfoReq) String() string
type GetUserInfoResp ¶
type GetUserInfoResp struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" form:"user" query:"user"` // contains filtered or unexported fields }
func (*GetUserInfoResp) Descriptor
deprecated
func (*GetUserInfoResp) Descriptor() ([]byte, []int)
Deprecated: Use GetUserInfoResp.ProtoReflect.Descriptor instead.
func (*GetUserInfoResp) GetUser ¶
func (x *GetUserInfoResp) GetUser() *User
func (*GetUserInfoResp) ProtoMessage ¶
func (*GetUserInfoResp) ProtoMessage()
func (*GetUserInfoResp) ProtoReflect ¶
func (x *GetUserInfoResp) ProtoReflect() protoreflect.Message
func (*GetUserInfoResp) Reset ¶
func (x *GetUserInfoResp) Reset()
func (*GetUserInfoResp) String ¶
func (x *GetUserInfoResp) String() string
type GetUserLikedReq ¶
type GetUserLikedReq struct { TargetId string `protobuf:"bytes,1,opt,name=targetId,proto3" json:"targetId,omitempty" form:"targetId" query:"targetId"` TargetType int64 `protobuf:"varint,2,opt,name=targetType,proto3" json:"targetType,omitempty" form:"targetType" query:"targetType"` // contains filtered or unexported fields }
func (*GetUserLikedReq) Descriptor
deprecated
func (*GetUserLikedReq) Descriptor() ([]byte, []int)
Deprecated: Use GetUserLikedReq.ProtoReflect.Descriptor instead.
func (*GetUserLikedReq) GetTargetId ¶
func (x *GetUserLikedReq) GetTargetId() string
func (*GetUserLikedReq) GetTargetType ¶
func (x *GetUserLikedReq) GetTargetType() int64
func (*GetUserLikedReq) ProtoMessage ¶
func (*GetUserLikedReq) ProtoMessage()
func (*GetUserLikedReq) ProtoReflect ¶
func (x *GetUserLikedReq) ProtoReflect() protoreflect.Message
func (*GetUserLikedReq) Reset ¶
func (x *GetUserLikedReq) Reset()
func (*GetUserLikedReq) String ¶
func (x *GetUserLikedReq) String() string
type GetUserLikedResp ¶
type GetUserLikedResp struct { Liked bool `protobuf:"varint,1,opt,name=liked,proto3" json:"liked,omitempty" form:"liked" query:"liked"` // contains filtered or unexported fields }
func (*GetUserLikedResp) Descriptor
deprecated
func (*GetUserLikedResp) Descriptor() ([]byte, []int)
Deprecated: Use GetUserLikedResp.ProtoReflect.Descriptor instead.
func (*GetUserLikedResp) GetLiked ¶
func (x *GetUserLikedResp) GetLiked() bool
func (*GetUserLikedResp) ProtoMessage ¶
func (*GetUserLikedResp) ProtoMessage()
func (*GetUserLikedResp) ProtoReflect ¶
func (x *GetUserLikedResp) ProtoReflect() protoreflect.Message
func (*GetUserLikedResp) Reset ¶
func (x *GetUserLikedResp) Reset()
func (*GetUserLikedResp) String ¶
func (x *GetUserLikedResp) String() string
type GetUserLikesReq ¶
type GetUserLikesReq struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty" form:"userId" query:"userId"` TargetType int64 `protobuf:"varint,2,opt,name=targetType,proto3" json:"targetType,omitempty" form:"targetType" query:"targetType"` // contains filtered or unexported fields }
func (*GetUserLikesReq) Descriptor
deprecated
func (*GetUserLikesReq) Descriptor() ([]byte, []int)
Deprecated: Use GetUserLikesReq.ProtoReflect.Descriptor instead.
func (*GetUserLikesReq) GetTargetType ¶
func (x *GetUserLikesReq) GetTargetType() int64
func (*GetUserLikesReq) GetUserId ¶
func (x *GetUserLikesReq) GetUserId() string
func (*GetUserLikesReq) ProtoMessage ¶
func (*GetUserLikesReq) ProtoMessage()
func (*GetUserLikesReq) ProtoReflect ¶
func (x *GetUserLikesReq) ProtoReflect() protoreflect.Message
func (*GetUserLikesReq) Reset ¶
func (x *GetUserLikesReq) Reset()
func (*GetUserLikesReq) String ¶
func (x *GetUserLikesReq) String() string
type GetUserLikesResp ¶
type GetUserLikesResp struct { Likes []*like.Like `protobuf:"bytes,1,rep,name=likes,proto3" json:"likes,omitempty" form:"likes" query:"likes"` // contains filtered or unexported fields }
func (*GetUserLikesResp) Descriptor
deprecated
func (*GetUserLikesResp) Descriptor() ([]byte, []int)
Deprecated: Use GetUserLikesResp.ProtoReflect.Descriptor instead.
func (*GetUserLikesResp) GetLikes ¶
func (x *GetUserLikesResp) GetLikes() []*like.Like
func (*GetUserLikesResp) ProtoMessage ¶
func (*GetUserLikesResp) ProtoMessage()
func (*GetUserLikesResp) ProtoReflect ¶
func (x *GetUserLikesResp) ProtoReflect() protoreflect.Message
func (*GetUserLikesResp) Reset ¶
func (x *GetUserLikesResp) Reset()
func (*GetUserLikesResp) String ¶
func (x *GetUserLikesResp) String() string
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 *basic.UserPreview `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) GetUserId ¶
func (x *Moment) GetUserId() *basic.UserPreview
func (*Moment) ProtoMessage ¶
func (*Moment) ProtoMessage()
func (*Moment) ProtoReflect ¶
func (x *Moment) ProtoReflect() protoreflect.Message
type NewCatReq ¶
type NewCatReq struct { Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty" form:"id" query:"id"` Age string `protobuf:"bytes,2,opt,name=age,proto3" json:"age,omitempty" form:"age" query:"age"` CommunityId string `protobuf:"bytes,3,opt,name=communityId,proto3" json:"communityId,omitempty" form:"communityId" query:"communityId"` Color string `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty" form:"color" query:"color"` Details string `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty" form:"details" query:"details"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty" form:"name" query:"name"` Sex string `protobuf:"bytes,7,opt,name=sex,proto3" json:"sex,omitempty" form:"sex" query:"sex"` Area string `protobuf:"bytes,8,opt,name=area,proto3" json:"area,omitempty" form:"area" query:"area"` IsSnipped bool `protobuf:"varint,9,opt,name=isSnipped,proto3" json:"isSnipped,omitempty" form:"isSnipped" query:"isSnipped"` IsSterilized bool `protobuf:"varint,10,opt,name=isSterilized,proto3" json:"isSterilized,omitempty" form:"isSterilized" query:"isSterilized"` Avatars []string `protobuf:"bytes,11,rep,name=avatars,proto3" json:"avatars,omitempty" form:"avatars" query:"avatars"` // contains filtered or unexported fields }
func (*NewCatReq) Descriptor
deprecated
func (*NewCatReq) GetAvatars ¶
func (*NewCatReq) GetCommunityId ¶
func (*NewCatReq) GetDetails ¶
func (*NewCatReq) GetIsSnipped ¶
func (*NewCatReq) GetIsSterilized ¶
func (*NewCatReq) ProtoMessage ¶
func (*NewCatReq) ProtoMessage()
func (*NewCatReq) ProtoReflect ¶
func (x *NewCatReq) ProtoReflect() protoreflect.Message
type NewCatResp ¶
type NewCatResp struct { CatId string `protobuf:"bytes,1,opt,name=catId,proto3" json:"catId,omitempty" form:"catId" query:"catId"` // contains filtered or unexported fields }
func (*NewCatResp) Descriptor
deprecated
func (*NewCatResp) Descriptor() ([]byte, []int)
Deprecated: Use NewCatResp.ProtoReflect.Descriptor instead.
func (*NewCatResp) GetCatId ¶
func (x *NewCatResp) GetCatId() string
func (*NewCatResp) ProtoMessage ¶
func (*NewCatResp) ProtoMessage()
func (*NewCatResp) ProtoReflect ¶
func (x *NewCatResp) ProtoReflect() protoreflect.Message
func (*NewCatResp) Reset ¶
func (x *NewCatResp) Reset()
func (*NewCatResp) String ¶
func (x *NewCatResp) String() string
type NewCommentReq ¶
type NewCommentReq struct { Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty" form:"id" query:"id"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty" form:"text" query:"text"` Scope string `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty" form:"scope" query:"scope"` // contains filtered or unexported fields }
func (*NewCommentReq) Descriptor
deprecated
func (*NewCommentReq) Descriptor() ([]byte, []int)
Deprecated: Use NewCommentReq.ProtoReflect.Descriptor instead.
func (*NewCommentReq) GetId ¶
func (x *NewCommentReq) GetId() string
func (*NewCommentReq) GetScope ¶
func (x *NewCommentReq) GetScope() string
func (*NewCommentReq) GetText ¶
func (x *NewCommentReq) GetText() string
func (*NewCommentReq) ProtoMessage ¶
func (*NewCommentReq) ProtoMessage()
func (*NewCommentReq) ProtoReflect ¶
func (x *NewCommentReq) ProtoReflect() protoreflect.Message
func (*NewCommentReq) Reset ¶
func (x *NewCommentReq) Reset()
func (*NewCommentReq) String ¶
func (x *NewCommentReq) String() string
type NewCommentResp ¶
type NewCommentResp struct {
// contains filtered or unexported fields
}
func (*NewCommentResp) Descriptor
deprecated
func (*NewCommentResp) Descriptor() ([]byte, []int)
Deprecated: Use NewCommentResp.ProtoReflect.Descriptor instead.
func (*NewCommentResp) ProtoMessage ¶
func (*NewCommentResp) ProtoMessage()
func (*NewCommentResp) ProtoReflect ¶
func (x *NewCommentResp) ProtoReflect() protoreflect.Message
func (*NewCommentResp) Reset ¶
func (x *NewCommentResp) Reset()
func (*NewCommentResp) String ¶
func (x *NewCommentResp) String() string
type NewMomentReq ¶
type NewMomentReq struct { Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty" form:"id" query:"id"` Title *string `protobuf:"bytes,2,opt,name=title,proto3,oneof" json:"title,omitempty" form:"title" query:"title"` CatId *string `protobuf:"bytes,3,opt,name=catId,proto3,oneof" json:"catId,omitempty" form:"catId" query:"catId"` Text *string `protobuf:"bytes,4,opt,name=text,proto3,oneof" json:"text,omitempty" form:"text" query:"text"` Photos []string `protobuf:"bytes,5,rep,name=photos,proto3" json:"photos,omitempty" form:"photos" query:"photos"` CommunityId *string `protobuf:"bytes,6,opt,name=communityId,proto3,oneof" json:"communityId,omitempty" form:"communityId" query:"communityId"` // contains filtered or unexported fields }
func (*NewMomentReq) Descriptor
deprecated
func (*NewMomentReq) Descriptor() ([]byte, []int)
Deprecated: Use NewMomentReq.ProtoReflect.Descriptor instead.
func (*NewMomentReq) GetCatId ¶
func (x *NewMomentReq) GetCatId() string
func (*NewMomentReq) GetCommunityId ¶
func (x *NewMomentReq) GetCommunityId() string
func (*NewMomentReq) GetId ¶
func (x *NewMomentReq) GetId() string
func (*NewMomentReq) GetPhotos ¶
func (x *NewMomentReq) GetPhotos() []string
func (*NewMomentReq) GetText ¶
func (x *NewMomentReq) GetText() string
func (*NewMomentReq) GetTitle ¶
func (x *NewMomentReq) GetTitle() string
func (*NewMomentReq) ProtoMessage ¶
func (*NewMomentReq) ProtoMessage()
func (*NewMomentReq) ProtoReflect ¶
func (x *NewMomentReq) ProtoReflect() protoreflect.Message
func (*NewMomentReq) Reset ¶
func (x *NewMomentReq) Reset()
func (*NewMomentReq) String ¶
func (x *NewMomentReq) String() string
type NewMomentResp ¶
type NewMomentResp struct { MomentId string `protobuf:"bytes,1,opt,name=momentId,proto3" json:"momentId,omitempty" form:"momentId" query:"momentId"` // contains filtered or unexported fields }
func (*NewMomentResp) Descriptor
deprecated
func (*NewMomentResp) Descriptor() ([]byte, []int)
Deprecated: Use NewMomentResp.ProtoReflect.Descriptor instead.
func (*NewMomentResp) GetMomentId ¶
func (x *NewMomentResp) GetMomentId() string
func (*NewMomentResp) ProtoMessage ¶
func (*NewMomentResp) ProtoMessage()
func (*NewMomentResp) ProtoReflect ¶
func (x *NewMomentResp) ProtoReflect() protoreflect.Message
func (*NewMomentResp) Reset ¶
func (x *NewMomentResp) Reset()
func (*NewMomentResp) String ¶
func (x *NewMomentResp) String() string
type NewPostReq ¶
type NewPostReq struct { Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty" form:"id" query:"id"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" form:"title" query:"title"` Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty" form:"text" query:"text"` CoverUrl string `protobuf:"bytes,4,opt,name=coverUrl,proto3" json:"coverUrl,omitempty" form:"coverUrl" query:"coverUrl"` Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty" form:"tags" query:"tags"` // contains filtered or unexported fields }
func (*NewPostReq) Descriptor
deprecated
func (*NewPostReq) Descriptor() ([]byte, []int)
Deprecated: Use NewPostReq.ProtoReflect.Descriptor instead.
func (*NewPostReq) GetCoverUrl ¶
func (x *NewPostReq) GetCoverUrl() string
func (*NewPostReq) GetId ¶
func (x *NewPostReq) GetId() string
func (*NewPostReq) GetTags ¶
func (x *NewPostReq) GetTags() []string
func (*NewPostReq) GetText ¶
func (x *NewPostReq) GetText() string
func (*NewPostReq) GetTitle ¶
func (x *NewPostReq) GetTitle() string
func (*NewPostReq) ProtoMessage ¶
func (*NewPostReq) ProtoMessage()
func (*NewPostReq) ProtoReflect ¶
func (x *NewPostReq) ProtoReflect() protoreflect.Message
func (*NewPostReq) Reset ¶
func (x *NewPostReq) Reset()
func (*NewPostReq) String ¶
func (x *NewPostReq) String() string
type NewPostResp ¶
type NewPostResp struct { PostId string `protobuf:"bytes,1,opt,name=postId,proto3" json:"postId,omitempty" form:"postId" query:"postId"` // contains filtered or unexported fields }
func (*NewPostResp) Descriptor
deprecated
func (*NewPostResp) Descriptor() ([]byte, []int)
Deprecated: Use NewPostResp.ProtoReflect.Descriptor instead.
func (*NewPostResp) GetPostId ¶
func (x *NewPostResp) GetPostId() string
func (*NewPostResp) ProtoMessage ¶
func (*NewPostResp) ProtoMessage()
func (*NewPostResp) ProtoReflect ¶
func (x *NewPostResp) ProtoReflect() protoreflect.Message
func (*NewPostResp) Reset ¶
func (x *NewPostResp) Reset()
func (*NewPostResp) String ¶
func (x *NewPostResp) String() string
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"` User *basic.UserPreview `protobuf:"bytes,9,opt,name=user,proto3" json:"user,omitempty" form:"user" query:"user"` 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) GetUser ¶
func (x *Post) GetUser() *basic.UserPreview
func (*Post) ProtoMessage ¶
func (*Post) ProtoMessage()
func (*Post) ProtoReflect ¶
func (x *Post) ProtoReflect() protoreflect.Message
type SearchCatReq ¶
type SearchCatReq struct { Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty" form:"keyword" query:"keyword"` PaginationOption *basic.PaginationOptions `protobuf:"bytes,2,opt,name=paginationOption,proto3" form:",inline" json:",inline,omitempty"` CommunityId string `protobuf:"bytes,3,opt,name=communityId,proto3" json:"communityId,omitempty" form:"communityId" query:"communityId"` // contains filtered or unexported fields }
func (*SearchCatReq) Descriptor
deprecated
func (*SearchCatReq) Descriptor() ([]byte, []int)
Deprecated: Use SearchCatReq.ProtoReflect.Descriptor instead.
func (*SearchCatReq) GetCommunityId ¶
func (x *SearchCatReq) GetCommunityId() string
func (*SearchCatReq) GetKeyword ¶
func (x *SearchCatReq) GetKeyword() string
func (*SearchCatReq) GetPaginationOption ¶
func (x *SearchCatReq) GetPaginationOption() *basic.PaginationOptions
func (*SearchCatReq) ProtoMessage ¶
func (*SearchCatReq) ProtoMessage()
func (*SearchCatReq) ProtoReflect ¶
func (x *SearchCatReq) ProtoReflect() protoreflect.Message
func (*SearchCatReq) Reset ¶
func (x *SearchCatReq) Reset()
func (*SearchCatReq) String ¶
func (x *SearchCatReq) String() string
type SearchCatResp ¶
type SearchCatResp struct { Cats []*CatPreview `protobuf:"bytes,1,rep,name=cats,proto3" json:"cats,omitempty" form:"cats" query:"cats"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty" form:"total" query:"total"` // contains filtered or unexported fields }
func (*SearchCatResp) Descriptor
deprecated
func (*SearchCatResp) Descriptor() ([]byte, []int)
Deprecated: Use SearchCatResp.ProtoReflect.Descriptor instead.
func (*SearchCatResp) GetCats ¶
func (x *SearchCatResp) GetCats() []*CatPreview
func (*SearchCatResp) GetTotal ¶
func (x *SearchCatResp) GetTotal() int64
func (*SearchCatResp) ProtoMessage ¶
func (*SearchCatResp) ProtoMessage()
func (*SearchCatResp) ProtoReflect ¶
func (x *SearchCatResp) ProtoReflect() protoreflect.Message
func (*SearchCatResp) Reset ¶
func (x *SearchCatResp) Reset()
func (*SearchCatResp) String ¶
func (x *SearchCatResp) String() string
type SearchMomentReq ¶
type SearchMomentReq struct { CommunityId *string `protobuf:"bytes,1,opt,name=communityId,proto3,oneof" json:"communityId,omitempty" form:"communityId" query:"communityId"` IsParent *bool `protobuf:"varint,2,opt,name=isParent,proto3,oneof" json:"isParent,omitempty" form:"isParent" query:"isParent"` OnlyUserId *string `protobuf:"bytes,3,opt,name=onlyUserId,proto3,oneof" json:"onlyUserId,omitempty" form:"onlyUserId" query:"onlyUserId"` Keyword *string `protobuf:"bytes,4,opt,name=keyword,proto3,oneof" json:"keyword,omitempty" form:"keyword" query:"keyword"` PaginationOption *basic.PaginationOptions `protobuf:"bytes,5,opt,name=paginationOption,proto3" form:",inline" json:",inline,omitempty"` // contains filtered or unexported fields }
func (*SearchMomentReq) Descriptor
deprecated
func (*SearchMomentReq) Descriptor() ([]byte, []int)
Deprecated: Use SearchMomentReq.ProtoReflect.Descriptor instead.
func (*SearchMomentReq) GetCommunityId ¶
func (x *SearchMomentReq) GetCommunityId() string
func (*SearchMomentReq) GetIsParent ¶
func (x *SearchMomentReq) GetIsParent() bool
func (*SearchMomentReq) GetKeyword ¶
func (x *SearchMomentReq) GetKeyword() string
func (*SearchMomentReq) GetOnlyUserId ¶
func (x *SearchMomentReq) GetOnlyUserId() string
func (*SearchMomentReq) GetPaginationOption ¶
func (x *SearchMomentReq) GetPaginationOption() *basic.PaginationOptions
func (*SearchMomentReq) ProtoMessage ¶
func (*SearchMomentReq) ProtoMessage()
func (*SearchMomentReq) ProtoReflect ¶
func (x *SearchMomentReq) ProtoReflect() protoreflect.Message
func (*SearchMomentReq) Reset ¶
func (x *SearchMomentReq) Reset()
func (*SearchMomentReq) String ¶
func (x *SearchMomentReq) String() string
type SearchMomentResp ¶
type SearchMomentResp struct { Moments []*Moment `protobuf:"bytes,1,rep,name=moments,proto3" json:"moments,omitempty" form:"moments" query:"moments"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty" form:"total" query:"total"` // contains filtered or unexported fields }
func (*SearchMomentResp) Descriptor
deprecated
func (*SearchMomentResp) Descriptor() ([]byte, []int)
Deprecated: Use SearchMomentResp.ProtoReflect.Descriptor instead.
func (*SearchMomentResp) GetMoments ¶
func (x *SearchMomentResp) GetMoments() []*Moment
func (*SearchMomentResp) GetTotal ¶
func (x *SearchMomentResp) GetTotal() int64
func (*SearchMomentResp) ProtoMessage ¶
func (*SearchMomentResp) ProtoMessage()
func (*SearchMomentResp) ProtoReflect ¶
func (x *SearchMomentResp) ProtoReflect() protoreflect.Message
func (*SearchMomentResp) Reset ¶
func (x *SearchMomentResp) Reset()
func (*SearchMomentResp) String ¶
func (x *SearchMomentResp) String() string
type SearchOptions ¶
type SearchOptions struct { // 查询全部字段 Key *string `protobuf:"bytes,1,opt,name=key,proto3,oneof" json:"key,omitempty" form:"key" query:"key"` // 各自匹配对应字段 Title *string `protobuf:"bytes,2,opt,name=title,proto3,oneof" json:"title,omitempty" form:"title" query:"title"` Text *string `protobuf:"bytes,3,opt,name=text,proto3,oneof" json:"text,omitempty" form:"text" query:"text"` Tag *string `protobuf:"bytes,4,opt,name=tag,proto3,oneof" json:"tag,omitempty" form:"tag" query:"tag"` // contains filtered or unexported fields }
多选一
func (*SearchOptions) Descriptor
deprecated
func (*SearchOptions) Descriptor() ([]byte, []int)
Deprecated: Use SearchOptions.ProtoReflect.Descriptor instead.
func (*SearchOptions) GetKey ¶
func (x *SearchOptions) GetKey() string
func (*SearchOptions) GetTag ¶
func (x *SearchOptions) GetTag() string
func (*SearchOptions) GetText ¶
func (x *SearchOptions) GetText() string
func (*SearchOptions) GetTitle ¶
func (x *SearchOptions) GetTitle() string
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 SearchUserForAdminReq ¶
type SearchUserForAdminReq struct { Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty" form:"keyword" query:"keyword"` PaginationOption *basic.PaginationOptions `protobuf:"bytes,2,opt,name=paginationOption,proto3" form:",inline" json:",inline,omitempty"` // contains filtered or unexported fields }
func (*SearchUserForAdminReq) Descriptor
deprecated
func (*SearchUserForAdminReq) Descriptor() ([]byte, []int)
Deprecated: Use SearchUserForAdminReq.ProtoReflect.Descriptor instead.
func (*SearchUserForAdminReq) GetKeyword ¶ added in v1.0.2
func (x *SearchUserForAdminReq) GetKeyword() string
func (*SearchUserForAdminReq) GetPaginationOption ¶ added in v1.0.2
func (x *SearchUserForAdminReq) GetPaginationOption() *basic.PaginationOptions
func (*SearchUserForAdminReq) ProtoMessage ¶
func (*SearchUserForAdminReq) ProtoMessage()
func (*SearchUserForAdminReq) ProtoReflect ¶
func (x *SearchUserForAdminReq) ProtoReflect() protoreflect.Message
func (*SearchUserForAdminReq) Reset ¶
func (x *SearchUserForAdminReq) Reset()
func (*SearchUserForAdminReq) String ¶
func (x *SearchUserForAdminReq) String() string
type SearchUserForAdminResp ¶
type SearchUserForAdminResp struct { Users []*UserPreviewWithRole `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty" form:"users" query:"users"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty" form:"total" query:"total"` Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty" form:"token" query:"token"` // contains filtered or unexported fields }
func (*SearchUserForAdminResp) Descriptor
deprecated
func (*SearchUserForAdminResp) Descriptor() ([]byte, []int)
Deprecated: Use SearchUserForAdminResp.ProtoReflect.Descriptor instead.
func (*SearchUserForAdminResp) GetToken ¶
func (x *SearchUserForAdminResp) GetToken() string
func (*SearchUserForAdminResp) GetTotal ¶
func (x *SearchUserForAdminResp) GetTotal() int64
func (*SearchUserForAdminResp) GetUsers ¶
func (x *SearchUserForAdminResp) GetUsers() []*UserPreviewWithRole
func (*SearchUserForAdminResp) ProtoMessage ¶
func (*SearchUserForAdminResp) ProtoMessage()
func (*SearchUserForAdminResp) ProtoReflect ¶
func (x *SearchUserForAdminResp) ProtoReflect() protoreflect.Message
func (*SearchUserForAdminResp) Reset ¶
func (x *SearchUserForAdminResp) Reset()
func (*SearchUserForAdminResp) String ¶
func (x *SearchUserForAdminResp) String() string
type SearchUserReq ¶
type SearchUserReq struct { Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty" form:"keyword" query:"keyword"` PaginationOption *basic.PaginationOptions `protobuf:"bytes,2,opt,name=paginationOption,proto3" form:",inline" json:",inline,omitempty"` // contains filtered or unexported fields }
func (*SearchUserReq) Descriptor
deprecated
func (*SearchUserReq) Descriptor() ([]byte, []int)
Deprecated: Use SearchUserReq.ProtoReflect.Descriptor instead.
func (*SearchUserReq) GetKeyword ¶
func (x *SearchUserReq) GetKeyword() string
func (*SearchUserReq) GetPaginationOption ¶
func (x *SearchUserReq) GetPaginationOption() *basic.PaginationOptions
func (*SearchUserReq) ProtoMessage ¶
func (*SearchUserReq) ProtoMessage()
func (*SearchUserReq) ProtoReflect ¶
func (x *SearchUserReq) ProtoReflect() protoreflect.Message
func (*SearchUserReq) Reset ¶
func (x *SearchUserReq) Reset()
func (*SearchUserReq) String ¶
func (x *SearchUserReq) String() string
type SearchUserResp ¶
type SearchUserResp struct { Users []*basic.UserPreview `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty" form:"users" query:"users"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty" form:"total" query:"total"` Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty" form:"token" query:"token"` // contains filtered or unexported fields }
func (*SearchUserResp) Descriptor
deprecated
func (*SearchUserResp) Descriptor() ([]byte, []int)
Deprecated: Use SearchUserResp.ProtoReflect.Descriptor instead.
func (*SearchUserResp) GetToken ¶
func (x *SearchUserResp) GetToken() string
func (*SearchUserResp) GetTotal ¶
func (x *SearchUserResp) GetTotal() int64
func (*SearchUserResp) GetUsers ¶
func (x *SearchUserResp) GetUsers() []*basic.UserPreview
func (*SearchUserResp) ProtoMessage ¶
func (*SearchUserResp) ProtoMessage()
func (*SearchUserResp) ProtoReflect ¶
func (x *SearchUserResp) ProtoReflect() protoreflect.Message
func (*SearchUserResp) Reset ¶
func (x *SearchUserResp) Reset()
func (*SearchUserResp) String ¶
func (x *SearchUserResp) String() string
type SendVerifyCodeReq ¶
type SendVerifyCodeReq struct { AuthType string `protobuf:"bytes,1,opt,name=authType,proto3" json:"authType,omitempty" form:"authType" query:"authType"` AuthId string `protobuf:"bytes,2,opt,name=authId,proto3" json:"authId,omitempty" form:"authId" query:"authId"` // contains filtered or unexported fields }
func (*SendVerifyCodeReq) Descriptor
deprecated
func (*SendVerifyCodeReq) Descriptor() ([]byte, []int)
Deprecated: Use SendVerifyCodeReq.ProtoReflect.Descriptor instead.
func (*SendVerifyCodeReq) GetAuthId ¶
func (x *SendVerifyCodeReq) GetAuthId() string
func (*SendVerifyCodeReq) GetAuthType ¶
func (x *SendVerifyCodeReq) GetAuthType() string
func (*SendVerifyCodeReq) ProtoMessage ¶
func (*SendVerifyCodeReq) ProtoMessage()
func (*SendVerifyCodeReq) ProtoReflect ¶
func (x *SendVerifyCodeReq) ProtoReflect() protoreflect.Message
func (*SendVerifyCodeReq) Reset ¶
func (x *SendVerifyCodeReq) Reset()
func (*SendVerifyCodeReq) String ¶
func (x *SendVerifyCodeReq) String() string
type SendVerifyCodeResp ¶
type SendVerifyCodeResp struct {
// contains filtered or unexported fields
}
func (*SendVerifyCodeResp) Descriptor
deprecated
func (*SendVerifyCodeResp) Descriptor() ([]byte, []int)
Deprecated: Use SendVerifyCodeResp.ProtoReflect.Descriptor instead.
func (*SendVerifyCodeResp) ProtoMessage ¶
func (*SendVerifyCodeResp) ProtoMessage()
func (*SendVerifyCodeResp) ProtoReflect ¶
func (x *SendVerifyCodeResp) ProtoReflect() protoreflect.Message
func (*SendVerifyCodeResp) Reset ¶
func (x *SendVerifyCodeResp) Reset()
func (*SendVerifyCodeResp) String ¶
func (x *SendVerifyCodeResp) String() string
type SetOfficialReq ¶
type SetOfficialReq struct { PostId string `protobuf:"bytes,1,opt,name=postId,proto3" json:"postId,omitempty" form:"postId" query:"postId"` IsRemove *bool `protobuf:"varint,2,opt,name=isRemove,proto3,oneof" json:"isRemove,omitempty" form:"isRemove" query:"isRemove"` // contains filtered or unexported fields }
func (*SetOfficialReq) Descriptor
deprecated
func (*SetOfficialReq) Descriptor() ([]byte, []int)
Deprecated: Use SetOfficialReq.ProtoReflect.Descriptor instead.
func (*SetOfficialReq) GetIsRemove ¶
func (x *SetOfficialReq) GetIsRemove() bool
func (*SetOfficialReq) GetPostId ¶
func (x *SetOfficialReq) GetPostId() string
func (*SetOfficialReq) ProtoMessage ¶
func (*SetOfficialReq) ProtoMessage()
func (*SetOfficialReq) ProtoReflect ¶
func (x *SetOfficialReq) ProtoReflect() protoreflect.Message
func (*SetOfficialReq) Reset ¶
func (x *SetOfficialReq) Reset()
func (*SetOfficialReq) String ¶
func (x *SetOfficialReq) String() string
type SetOfficialResp ¶
type SetOfficialResp struct {
// contains filtered or unexported fields
}
func (*SetOfficialResp) Descriptor
deprecated
func (*SetOfficialResp) Descriptor() ([]byte, []int)
Deprecated: Use SetOfficialResp.ProtoReflect.Descriptor instead.
func (*SetOfficialResp) ProtoMessage ¶
func (*SetOfficialResp) ProtoMessage()
func (*SetOfficialResp) ProtoReflect ¶
func (x *SetOfficialResp) ProtoReflect() protoreflect.Message
func (*SetOfficialResp) Reset ¶
func (x *SetOfficialResp) Reset()
func (*SetOfficialResp) String ¶
func (x *SetOfficialResp) String() string
type SetPasswordReq ¶
type SetPasswordReq struct { Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty" form:"password" query:"password"` User *basic.UserMeta `protobuf:"bytes,255,opt,name=user,proto3" json:"user,omitempty" header:"Authorization"` // contains filtered or unexported fields }
func (*SetPasswordReq) Descriptor
deprecated
func (*SetPasswordReq) Descriptor() ([]byte, []int)
Deprecated: Use SetPasswordReq.ProtoReflect.Descriptor instead.
func (*SetPasswordReq) GetPassword ¶
func (x *SetPasswordReq) GetPassword() string
func (*SetPasswordReq) GetUser ¶
func (x *SetPasswordReq) GetUser() *basic.UserMeta
func (*SetPasswordReq) ProtoMessage ¶
func (*SetPasswordReq) ProtoMessage()
func (*SetPasswordReq) ProtoReflect ¶
func (x *SetPasswordReq) ProtoReflect() protoreflect.Message
func (*SetPasswordReq) Reset ¶
func (x *SetPasswordReq) Reset()
func (*SetPasswordReq) String ¶
func (x *SetPasswordReq) String() string
type SetPasswordResp ¶
type SetPasswordResp struct {
// contains filtered or unexported fields
}
func (*SetPasswordResp) Descriptor
deprecated
func (*SetPasswordResp) Descriptor() ([]byte, []int)
Deprecated: Use SetPasswordResp.ProtoReflect.Descriptor instead.
func (*SetPasswordResp) ProtoMessage ¶
func (*SetPasswordResp) ProtoMessage()
func (*SetPasswordResp) ProtoReflect ¶
func (x *SetPasswordResp) ProtoReflect() protoreflect.Message
func (*SetPasswordResp) Reset ¶
func (x *SetPasswordResp) Reset()
func (*SetPasswordResp) String ¶
func (x *SetPasswordResp) String() string
type SignInReq ¶
type SignInReq struct { AuthType string `protobuf:"bytes,1,opt,name=authType,proto3" json:"authType,omitempty" form:"authType" query:"authType"` AuthId string `protobuf:"bytes,2,opt,name=authId,proto3" json:"authId,omitempty" form:"authId" query:"authId"` Password *string `protobuf:"bytes,3,opt,name=password,proto3,oneof" json:"password,omitempty" form:"password" query:"password"` Params []string `protobuf:"bytes,4,rep,name=params,proto3" json:"params,omitempty" form:"params" query:"params"` // contains filtered or unexported fields }
func (*SignInReq) Descriptor
deprecated
func (*SignInReq) GetAuthType ¶
func (*SignInReq) GetPassword ¶
func (*SignInReq) ProtoMessage ¶
func (*SignInReq) ProtoMessage()
func (*SignInReq) ProtoReflect ¶
func (x *SignInReq) ProtoReflect() protoreflect.Message
type SignInResp ¶
type SignInResp struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty" form:"userId" query:"userId"` AccessToken string `protobuf:"bytes,2,opt,name=accessToken,proto3" json:"accessToken,omitempty" form:"accessToken" query:"accessToken"` AccessExpire int64 `protobuf:"varint,3,opt,name=accessExpire,proto3" json:"accessExpire,omitempty" form:"accessExpire" query:"accessExpire"` // contains filtered or unexported fields }
func (*SignInResp) Descriptor
deprecated
func (*SignInResp) Descriptor() ([]byte, []int)
Deprecated: Use SignInResp.ProtoReflect.Descriptor instead.
func (*SignInResp) GetAccessExpire ¶
func (x *SignInResp) GetAccessExpire() int64
func (*SignInResp) GetAccessToken ¶
func (x *SignInResp) GetAccessToken() string
func (*SignInResp) GetUserId ¶
func (x *SignInResp) GetUserId() string
func (*SignInResp) ProtoMessage ¶
func (*SignInResp) ProtoMessage()
func (*SignInResp) ProtoReflect ¶
func (x *SignInResp) ProtoReflect() protoreflect.Message
func (*SignInResp) Reset ¶
func (x *SignInResp) Reset()
func (*SignInResp) String ¶
func (x *SignInResp) String() string
type UpdateUserInfoReq ¶
type UpdateUserInfoReq struct { AvatarUrl *string `protobuf:"bytes,1,opt,name=avatarUrl,proto3,oneof" json:"avatarUrl,omitempty" form:"avatarUrl" query:"avatarUrl"` Nickname *string `protobuf:"bytes,2,opt,name=nickname,proto3,oneof" json:"nickname,omitempty" form:"nickname" query:"nickname"` Motto *string `protobuf:"bytes,3,opt,name=motto,proto3,oneof" json:"motto,omitempty" form:"motto" query:"motto"` // contains filtered or unexported fields }
func (*UpdateUserInfoReq) Descriptor
deprecated
func (*UpdateUserInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserInfoReq.ProtoReflect.Descriptor instead.
func (*UpdateUserInfoReq) GetAvatarUrl ¶
func (x *UpdateUserInfoReq) GetAvatarUrl() string
func (*UpdateUserInfoReq) GetMotto ¶
func (x *UpdateUserInfoReq) GetMotto() string
func (*UpdateUserInfoReq) GetNickname ¶
func (x *UpdateUserInfoReq) GetNickname() string
func (*UpdateUserInfoReq) ProtoMessage ¶
func (*UpdateUserInfoReq) ProtoMessage()
func (*UpdateUserInfoReq) ProtoReflect ¶
func (x *UpdateUserInfoReq) ProtoReflect() protoreflect.Message
func (*UpdateUserInfoReq) Reset ¶
func (x *UpdateUserInfoReq) Reset()
func (*UpdateUserInfoReq) String ¶
func (x *UpdateUserInfoReq) String() string
type UpdateUserInfoResp ¶
type UpdateUserInfoResp struct {
// contains filtered or unexported fields
}
func (*UpdateUserInfoResp) Descriptor
deprecated
func (*UpdateUserInfoResp) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserInfoResp.ProtoReflect.Descriptor instead.
func (*UpdateUserInfoResp) ProtoMessage ¶
func (*UpdateUserInfoResp) ProtoMessage()
func (*UpdateUserInfoResp) ProtoReflect ¶
func (x *UpdateUserInfoResp) ProtoReflect() protoreflect.Message
func (*UpdateUserInfoResp) Reset ¶
func (x *UpdateUserInfoResp) Reset()
func (*UpdateUserInfoResp) String ¶
func (x *UpdateUserInfoResp) String() string
type User ¶
type User struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" form:"id" query:"id"` Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty" form:"nickname" query:"nickname"` AvatarUrl string `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl,omitempty" form:"avatarUrl" query:"avatarUrl"` Motto string `protobuf:"bytes,4,opt,name=motto,proto3" json:"motto,omitempty" form:"motto" query:"motto"` Follower int64 `protobuf:"varint,5,opt,name=follower,proto3" json:"follower,omitempty" form:"follower" query:"follower"` Following int64 `protobuf:"varint,6,opt,name=following,proto3" json:"following,omitempty" form:"following" query:"following"` Article int64 `protobuf:"varint,7,opt,name=article,proto3" json:"article,omitempty" form:"article" query:"article"` Like int64 `protobuf:"varint,8,opt,name=like,proto3" json:"like,omitempty" form:"like" query:"like"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetArticle ¶
func (*User) GetAvatarUrl ¶
func (*User) GetFollower ¶
func (*User) GetFollowing ¶
func (*User) GetNickname ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserPreviewWithRole ¶
type UserPreviewWithRole struct { User *basic.UserPreview `protobuf:"bytes,1,opt,name=user,proto3" form:",inline" json:",inline,omitempty"` Roles []*basic.Role `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty" form:"roles" query:"roles"` // contains filtered or unexported fields }
func (*UserPreviewWithRole) Descriptor
deprecated
func (*UserPreviewWithRole) Descriptor() ([]byte, []int)
Deprecated: Use UserPreviewWithRole.ProtoReflect.Descriptor instead.
func (*UserPreviewWithRole) GetRoles ¶
func (x *UserPreviewWithRole) GetRoles() []*basic.Role
func (*UserPreviewWithRole) GetUser ¶
func (x *UserPreviewWithRole) GetUser() *basic.UserPreview
func (*UserPreviewWithRole) ProtoMessage ¶
func (*UserPreviewWithRole) ProtoMessage()
func (*UserPreviewWithRole) ProtoReflect ¶
func (x *UserPreviewWithRole) ProtoReflect() protoreflect.Message
func (*UserPreviewWithRole) Reset ¶
func (x *UserPreviewWithRole) Reset()
func (*UserPreviewWithRole) String ¶
func (x *UserPreviewWithRole) String() string