Documentation ¶
Index ¶
- Variables
- type DevicePlatform
- func (DevicePlatform) Descriptor() protoreflect.EnumDescriptor
- func (x DevicePlatform) Enum() *DevicePlatform
- func (DevicePlatform) EnumDescriptor() ([]byte, []int)deprecated
- func (x DevicePlatform) Number() protoreflect.EnumNumber
- func (x DevicePlatform) String() string
- func (DevicePlatform) Type() protoreflect.EnumType
- type Extra
- func (*Extra) Descriptor() ([]byte, []int)deprecated
- func (x *Extra) GetClientIP() string
- func (x *Extra) GetDeviceBrand() string
- func (x *Extra) GetDeviceId() string
- func (x *Extra) GetDevicePlatform() string
- func (x *Extra) GetLanguage() string
- func (x *Extra) GetOperateSystem() string
- func (x *Extra) GetResolution() string
- func (*Extra) ProtoMessage()
- func (x *Extra) ProtoReflect() protoreflect.Message
- func (x *Extra) Reset()
- func (x *Extra) String() string
- type PaginationOptions
- func (*PaginationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PaginationOptions) GetBackward() bool
- func (x *PaginationOptions) GetLastToken() string
- func (x *PaginationOptions) GetLimit() int64
- func (x *PaginationOptions) GetOffset() int64
- func (x *PaginationOptions) GetPage() int64
- func (*PaginationOptions) ProtoMessage()
- func (x *PaginationOptions) ProtoReflect() protoreflect.Message
- func (x *PaginationOptions) Reset()
- func (x *PaginationOptions) String() string
- type Role
- type UserMeta
- func (*UserMeta) Descriptor() ([]byte, []int)deprecated
- func (x *UserMeta) GetAppId() int64
- func (x *UserMeta) GetDeviceId() string
- func (x *UserMeta) GetIsLogin() bool
- func (x *UserMeta) GetSessionAppId() int64
- func (x *UserMeta) GetSessionDeviceId() string
- func (x *UserMeta) GetSessionUserId() string
- func (x *UserMeta) GetUserId() string
- func (x *UserMeta) GetWechatUserMeta() *WechatUserMeta
- func (*UserMeta) ProtoMessage()
- func (x *UserMeta) ProtoReflect() protoreflect.Message
- func (x *UserMeta) Reset()
- func (x *UserMeta) 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
- type WechatUserMeta
- func (*WechatUserMeta) Descriptor() ([]byte, []int)deprecated
- func (x *WechatUserMeta) GetAppId() string
- func (x *WechatUserMeta) GetOpenId() string
- func (x *WechatUserMeta) GetPlatformId() string
- func (x *WechatUserMeta) GetUnionId() string
- func (*WechatUserMeta) ProtoMessage()
- func (x *WechatUserMeta) ProtoReflect() protoreflect.Message
- func (x *WechatUserMeta) Reset()
- func (x *WechatUserMeta) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DevicePlatform_name = map[int32]string{ 0: "Android", 1: "IOS", 2: "Windows", 3: "Mac", 4: "WechatDevtools", } DevicePlatform_value = map[string]int32{ "Android": 0, "IOS": 1, "Windows": 2, "Mac": 3, "WechatDevtools": 4, } )
Enum value maps for DevicePlatform.
View Source
var File_meowchat_basic_basic_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DevicePlatform ¶
type DevicePlatform int32
const ( DevicePlatform_Android DevicePlatform = 0 DevicePlatform_IOS DevicePlatform = 1 DevicePlatform_Windows DevicePlatform = 2 DevicePlatform_Mac DevicePlatform = 3 DevicePlatform_WechatDevtools DevicePlatform = 4 )
func (DevicePlatform) Descriptor ¶
func (DevicePlatform) Descriptor() protoreflect.EnumDescriptor
func (DevicePlatform) Enum ¶
func (x DevicePlatform) Enum() *DevicePlatform
func (DevicePlatform) EnumDescriptor
deprecated
func (DevicePlatform) EnumDescriptor() ([]byte, []int)
Deprecated: Use DevicePlatform.Descriptor instead.
func (DevicePlatform) Number ¶
func (x DevicePlatform) Number() protoreflect.EnumNumber
func (DevicePlatform) String ¶
func (x DevicePlatform) String() string
func (DevicePlatform) Type ¶
func (DevicePlatform) Type() protoreflect.EnumType
type Extra ¶
type Extra struct { ClientIP string `protobuf:"bytes,1,opt,name=clientIP,proto3" json:"clientIP,omitempty" form:"clientIP" query:"clientIP"` Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty" form:"language" query:"language"` Resolution string `protobuf:"bytes,3,opt,name=resolution,proto3" json:"resolution,omitempty" form:"resolution" query:"resolution"` // 像素比 DevicePlatform string `` // 设备平台 /* 126-byte string literal not displayed */ DeviceBrand string `protobuf:"bytes,5,opt,name=deviceBrand,proto3" json:"deviceBrand,omitempty" form:"deviceBrand" query:"deviceBrand"` // 设备品牌 DeviceId string `protobuf:"bytes,6,opt,name=deviceId,proto3" json:"deviceId,omitempty" form:"deviceId" query:"deviceId"` OperateSystem string `protobuf:"bytes,7,opt,name=operateSystem,proto3" json:"operateSystem,omitempty" form:"operateSystem" query:"operateSystem"` // contains filtered or unexported fields }
客户端透传
func (*Extra) Descriptor
deprecated
func (*Extra) GetClientIP ¶
func (*Extra) GetDeviceBrand ¶
func (*Extra) GetDeviceId ¶ added in v1.0.5
func (*Extra) GetDevicePlatform ¶
func (*Extra) GetLanguage ¶
func (*Extra) GetOperateSystem ¶
func (*Extra) GetResolution ¶
func (*Extra) ProtoMessage ¶
func (*Extra) ProtoMessage()
func (*Extra) ProtoReflect ¶
func (x *Extra) ProtoReflect() protoreflect.Message
type PaginationOptions ¶
type PaginationOptions struct { Page *int64 `protobuf:"varint,1,opt,name=page,proto3,oneof" json:"page,omitempty" form:"page" query:"page"` Limit *int64 `protobuf:"varint,2,opt,name=limit,proto3,oneof" json:"limit,omitempty" form:"limit" query:"limit"` LastToken *string `protobuf:"bytes,3,opt,name=lastToken,proto3,oneof" json:"lastToken,omitempty" form:"lastToken" query:"lastToken"` Backward *bool `protobuf:"varint,4,opt,name=backward,proto3,oneof" json:"backward,omitempty" form:"backward" query:"backward"` Offset *int64 `protobuf:"varint,5,opt,name=offset,proto3,oneof" json:"offset,omitempty" form:"offset" query:"offset"` // contains filtered or unexported fields }
func (*PaginationOptions) Descriptor
deprecated
func (*PaginationOptions) Descriptor() ([]byte, []int)
Deprecated: Use PaginationOptions.ProtoReflect.Descriptor instead.
func (*PaginationOptions) GetBackward ¶
func (x *PaginationOptions) GetBackward() bool
func (*PaginationOptions) GetLastToken ¶
func (x *PaginationOptions) GetLastToken() string
func (*PaginationOptions) GetLimit ¶
func (x *PaginationOptions) GetLimit() int64
func (*PaginationOptions) GetOffset ¶
func (x *PaginationOptions) GetOffset() int64
func (*PaginationOptions) GetPage ¶
func (x *PaginationOptions) GetPage() int64
func (*PaginationOptions) ProtoMessage ¶
func (*PaginationOptions) ProtoMessage()
func (*PaginationOptions) ProtoReflect ¶
func (x *PaginationOptions) ProtoReflect() protoreflect.Message
func (*PaginationOptions) Reset ¶
func (x *PaginationOptions) Reset()
func (*PaginationOptions) String ¶
func (x *PaginationOptions) String() string
type Role ¶
type Role struct { RoleType string `protobuf:"bytes,1,opt,name=roleType,proto3" json:"roleType,omitempty" form:"roleType" query:"roleType"` CommunityId *string `protobuf:"bytes,2,opt,name=communityId,proto3,oneof" json:"communityId,omitempty" form:"communityId" query:"communityId"` // contains filtered or unexported fields }
func (*Role) Descriptor
deprecated
func (*Role) GetCommunityId ¶
func (*Role) GetRoleType ¶
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶
func (x *Role) ProtoReflect() protoreflect.Message
type UserMeta ¶
type UserMeta struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty" form:"userId" query:"userId"` AppId int64 `protobuf:"varint,2,opt,name=appId,proto3" json:"appId,omitempty" form:"appId" query:"appId"` DeviceId string `protobuf:"bytes,3,opt,name=deviceId,proto3" json:"deviceId,omitempty" form:"deviceId" query:"deviceId"` SessionUserId string `protobuf:"bytes,4,opt,name=sessionUserId,proto3" json:"sessionUserId,omitempty" form:"sessionUserId" query:"sessionUserId"` SessionAppId int64 `protobuf:"varint,5,opt,name=sessionAppId,proto3" json:"sessionAppId,omitempty" form:"sessionAppId" query:"sessionAppId"` SessionDeviceId string `` /* 130-byte string literal not displayed */ IsLogin bool `protobuf:"varint,7,opt,name=isLogin,proto3" json:"isLogin,omitempty" form:"isLogin" query:"isLogin"` WechatUserMeta *WechatUserMeta `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UserMeta) Descriptor
deprecated
func (*UserMeta) GetDeviceId ¶ added in v1.0.5
func (*UserMeta) GetIsLogin ¶
func (*UserMeta) GetSessionAppId ¶ added in v1.0.5
func (*UserMeta) GetSessionDeviceId ¶ added in v1.0.5
func (*UserMeta) GetSessionUserId ¶ added in v1.0.5
func (*UserMeta) GetWechatUserMeta ¶
func (x *UserMeta) GetWechatUserMeta() *WechatUserMeta
func (*UserMeta) ProtoMessage ¶
func (*UserMeta) ProtoMessage()
func (*UserMeta) ProtoReflect ¶
func (x *UserMeta) ProtoReflect() protoreflect.Message
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
type WechatUserMeta ¶
type WechatUserMeta struct { AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty" form:"appId" query:"appId"` OpenId string `protobuf:"bytes,2,opt,name=openId,proto3" json:"openId,omitempty" form:"openId" query:"openId"` PlatformId string `protobuf:"bytes,3,opt,name=platformId,proto3" json:"platformId,omitempty" form:"platformId" query:"platformId"` UnionId string `protobuf:"bytes,4,opt,name=unionId,proto3" json:"unionId,omitempty" form:"unionId" query:"unionId"` // contains filtered or unexported fields }
func (*WechatUserMeta) Descriptor
deprecated
func (*WechatUserMeta) Descriptor() ([]byte, []int)
Deprecated: Use WechatUserMeta.ProtoReflect.Descriptor instead.
func (*WechatUserMeta) GetAppId ¶ added in v1.0.5
func (x *WechatUserMeta) GetAppId() string
func (*WechatUserMeta) GetOpenId ¶ added in v1.0.5
func (x *WechatUserMeta) GetOpenId() string
func (*WechatUserMeta) GetPlatformId ¶ added in v1.0.5
func (x *WechatUserMeta) GetPlatformId() string
func (*WechatUserMeta) GetUnionId ¶ added in v1.0.5
func (x *WechatUserMeta) GetUnionId() string
func (*WechatUserMeta) ProtoMessage ¶
func (*WechatUserMeta) ProtoMessage()
func (*WechatUserMeta) ProtoReflect ¶
func (x *WechatUserMeta) ProtoReflect() protoreflect.Message
func (*WechatUserMeta) Reset ¶
func (x *WechatUserMeta) Reset()
func (*WechatUserMeta) String ¶
func (x *WechatUserMeta) String() string
Click to show internal directories.
Click to hide internal directories.