Documentation ¶
Index ¶
- Variables
- type ItemScore
- type Like
- type LikeType
- type UserDetail
- func (*UserDetail) Descriptor() ([]byte, []int)deprecated
- func (x *UserDetail) GetAvatarUrl() string
- func (x *UserDetail) GetId() string
- func (x *UserDetail) GetMotto() string
- func (x *UserDetail) GetNickname() string
- func (*UserDetail) ProtoMessage()
- func (x *UserDetail) ProtoReflect() protoreflect.Message
- func (x *UserDetail) Reset()
- func (x *UserDetail) String() string
- type UserPreview
- func (*UserPreview) Descriptor() ([]byte, []int)deprecated
- func (x *UserPreview) GetAvatarUrl() string
- func (x *UserPreview) GetId() string
- func (x *UserPreview) GetNickname() string
- func (*UserPreview) ProtoMessage()
- func (x *UserPreview) ProtoReflect() protoreflect.Message
- func (x *UserPreview) Reset()
- func (x *UserPreview) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LikeType_name = map[int32]string{ 0: "Unknown", 1: "Post", 2: "Comment", 3: "Cat", 4: "Moment", 5: "CatPhoto", 6: "User", } LikeType_value = map[string]int32{ "Unknown": 0, "Post": 1, "Comment": 2, "Cat": 3, "Moment": 4, "CatPhoto": 5, "User": 6, } )
Enum value maps for LikeType.
View Source
var File_meowchat_user_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ItemScore ¶
type ItemScore struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" form:"id" query:"id"` Score int64 `protobuf:"varint,2,opt,name=score,proto3" json:"score,omitempty" form:"score" query:"score"` // contains filtered or unexported fields }
func (*ItemScore) Descriptor
deprecated
func (*ItemScore) ProtoMessage ¶
func (*ItemScore) ProtoMessage()
func (*ItemScore) ProtoReflect ¶
func (x *ItemScore) ProtoReflect() protoreflect.Message
type Like ¶
type Like struct { TargetId string `protobuf:"bytes,1,opt,name=targetId,proto3" json:"targetId,omitempty" form:"targetId" query:"targetId"` AssociatedId string `protobuf:"bytes,2,opt,name=associatedId,proto3" json:"associatedId,omitempty" form:"associatedId" query:"associatedId"` // contains filtered or unexported fields }
func (*Like) Descriptor
deprecated
func (*Like) GetAssociatedId ¶
func (*Like) GetTargetId ¶
func (*Like) ProtoMessage ¶
func (*Like) ProtoMessage()
func (*Like) ProtoReflect ¶
func (x *Like) ProtoReflect() protoreflect.Message
type LikeType ¶
type LikeType int32
func (LikeType) Descriptor ¶
func (LikeType) Descriptor() protoreflect.EnumDescriptor
func (LikeType) EnumDescriptor
deprecated
func (LikeType) Number ¶
func (x LikeType) Number() protoreflect.EnumNumber
func (LikeType) Type ¶
func (LikeType) Type() protoreflect.EnumType
type UserDetail ¶
type UserDetail struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" form:"id" query:"id"` AvatarUrl string `protobuf:"bytes,2,opt,name=avatarUrl,proto3" json:"avatarUrl,omitempty" form:"avatarUrl" query:"avatarUrl"` Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty" form:"nickname" query:"nickname"` Motto string `protobuf:"bytes,4,opt,name=motto,proto3" json:"motto,omitempty" form:"motto" query:"motto"` // contains filtered or unexported fields }
func (*UserDetail) Descriptor
deprecated
func (*UserDetail) Descriptor() ([]byte, []int)
Deprecated: Use UserDetail.ProtoReflect.Descriptor instead.
func (*UserDetail) GetAvatarUrl ¶
func (x *UserDetail) GetAvatarUrl() string
func (*UserDetail) GetId ¶
func (x *UserDetail) GetId() string
func (*UserDetail) GetMotto ¶
func (x *UserDetail) GetMotto() string
func (*UserDetail) GetNickname ¶
func (x *UserDetail) GetNickname() string
func (*UserDetail) ProtoMessage ¶
func (*UserDetail) ProtoMessage()
func (*UserDetail) ProtoReflect ¶
func (x *UserDetail) ProtoReflect() protoreflect.Message
func (*UserDetail) Reset ¶
func (x *UserDetail) Reset()
func (*UserDetail) String ¶
func (x *UserDetail) String() string
type UserPreview ¶
type UserPreview 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"` // contains filtered or unexported fields }
func (*UserPreview) Descriptor
deprecated
func (*UserPreview) Descriptor() ([]byte, []int)
Deprecated: Use UserPreview.ProtoReflect.Descriptor instead.
func (*UserPreview) GetAvatarUrl ¶
func (x *UserPreview) GetAvatarUrl() string
func (*UserPreview) GetId ¶
func (x *UserPreview) GetId() string
func (*UserPreview) GetNickname ¶
func (x *UserPreview) GetNickname() string
func (*UserPreview) ProtoMessage ¶
func (*UserPreview) ProtoMessage()
func (*UserPreview) ProtoReflect ¶
func (x *UserPreview) ProtoReflect() protoreflect.Message
func (*UserPreview) Reset ¶
func (x *UserPreview) Reset()
func (*UserPreview) String ¶
func (x *UserPreview) String() string
Click to show internal directories.
Click to hide internal directories.