user

package
v1.0.36 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2023 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

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" form:"id" query:"id"`
	Score int64  `protobuf:"varint,2,opt,name=score,proto3" json:"score" form:"score" query:"score"`
	// contains filtered or unexported fields
}

func (*ItemScore) Descriptor deprecated

func (*ItemScore) Descriptor() ([]byte, []int)

Deprecated: Use ItemScore.ProtoReflect.Descriptor instead.

func (*ItemScore) GetId

func (x *ItemScore) GetId() string

func (*ItemScore) GetScore

func (x *ItemScore) GetScore() int64

func (*ItemScore) ProtoMessage

func (*ItemScore) ProtoMessage()

func (*ItemScore) ProtoReflect

func (x *ItemScore) ProtoReflect() protoreflect.Message

func (*ItemScore) Reset

func (x *ItemScore) Reset()

func (*ItemScore) String

func (x *ItemScore) String() string

type Like

type Like struct {
	TargetId     string `protobuf:"bytes,1,opt,name=targetId,proto3" json:"targetId" form:"targetId" query:"targetId"`
	AssociatedId string `protobuf:"bytes,2,opt,name=associatedId,proto3" json:"associatedId" form:"associatedId" query:"associatedId"`
	// contains filtered or unexported fields
}

func (*Like) Descriptor deprecated

func (*Like) Descriptor() ([]byte, []int)

Deprecated: Use Like.ProtoReflect.Descriptor instead.

func (*Like) GetAssociatedId

func (x *Like) GetAssociatedId() string

func (*Like) GetTargetId

func (x *Like) GetTargetId() string

func (*Like) ProtoMessage

func (*Like) ProtoMessage()

func (*Like) ProtoReflect

func (x *Like) ProtoReflect() protoreflect.Message

func (*Like) Reset

func (x *Like) Reset()

func (*Like) String

func (x *Like) String() string

type LikeType

type LikeType int32
const (
	LikeType_Unknown  LikeType = 0
	LikeType_Post     LikeType = 1
	LikeType_Comment  LikeType = 2
	LikeType_Cat      LikeType = 3
	LikeType_Moment   LikeType = 4
	LikeType_CatPhoto LikeType = 5
	LikeType_User     LikeType = 6
)

func (LikeType) Descriptor

func (LikeType) Descriptor() protoreflect.EnumDescriptor

func (LikeType) Enum

func (x LikeType) Enum() *LikeType

func (LikeType) EnumDescriptor deprecated

func (LikeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use LikeType.Descriptor instead.

func (LikeType) Number

func (x LikeType) Number() protoreflect.EnumNumber

func (LikeType) String

func (x LikeType) String() string

func (LikeType) Type

type UserDetail

type UserDetail struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id" query:"id"`
	AvatarUrl string `protobuf:"bytes,2,opt,name=avatarUrl,proto3" json:"avatarUrl" form:"avatarUrl" query:"avatarUrl"`
	Nickname  string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname" form:"nickname" query:"nickname"`
	Motto     string `protobuf:"bytes,4,opt,name=motto,proto3" json:"motto" 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" form:"id" query:"id"`
	Nickname  string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname" form:"nickname" query:"nickname"`
	AvatarUrl string `protobuf:"bytes,3,opt,name=avatarUrl,proto3" json:"avatarUrl" 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL