Documentation ¶
Index ¶
- Variables
- type APP
- type Extra
- func (*Extra) Descriptor() ([]byte, []int)deprecated
- func (x *Extra) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *Extra) FastWrite(buf []byte) (offset int)
- 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) Size() (n int)
- func (x *Extra) String() string
- type PaginationOptions
- func (*PaginationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PaginationOptions) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *PaginationOptions) FastWrite(buf []byte) (offset int)
- 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) Size() (n int)
- func (x *PaginationOptions) String() string
- type UserMeta
- func (*UserMeta) Descriptor() ([]byte, []int)deprecated
- func (x *UserMeta) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *UserMeta) FastWrite(buf []byte) (offset int)
- func (x *UserMeta) GetAppId() APP
- func (x *UserMeta) GetDeviceId() string
- func (x *UserMeta) GetIsLogin() bool
- func (x *UserMeta) GetSessionAppId() APP
- 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) Size() (n int)
- func (x *UserMeta) String() string
- type WechatUserMeta
- func (*WechatUserMeta) Descriptor() ([]byte, []int)deprecated
- func (x *WechatUserMeta) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *WechatUserMeta) FastWrite(buf []byte) (offset int)
- 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) Size() (n int)
- func (x *WechatUserMeta) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( APP_name = map[int32]string{ 0: "Unknown", 1: "Meowchat", 2: "MeowchatManager", 3: "Meowcloud", } APP_value = map[string]int32{ "Unknown": 0, "Meowchat": 1, "MeowchatManager": 2, "Meowcloud": 3, } )
Enum value maps for APP.
View Source
var File_basic_app_proto protoreflect.FileDescriptor
View Source
var File_basic_pagination_proto protoreflect.FileDescriptor
View Source
var File_basic_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type APP ¶
type APP int32
func (APP) Descriptor ¶
func (APP) Descriptor() protoreflect.EnumDescriptor
func (APP) EnumDescriptor
deprecated
func (APP) Number ¶
func (x APP) Number() protoreflect.EnumNumber
func (APP) Type ¶
func (APP) Type() protoreflect.EnumType
type Extra ¶
type Extra struct { ClientIP string `protobuf:"bytes,1,opt,name=clientIP,proto3" json:"clientIP,omitempty"` Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"` Resolution string `protobuf:"bytes,3,opt,name=resolution,proto3" json:"resolution,omitempty"` // 像素比 DevicePlatform string `protobuf:"bytes,4,opt,name=devicePlatform,proto3" json:"devicePlatform,omitempty"` // 设备平台 DeviceBrand string `protobuf:"bytes,5,opt,name=deviceBrand,proto3" json:"deviceBrand,omitempty"` // 设备品牌 DeviceId string `protobuf:"bytes,6,opt,name=deviceId,proto3" json:"deviceId,omitempty"` OperateSystem string `protobuf:"bytes,7,opt,name=operateSystem,proto3" json:"operateSystem,omitempty"` // contains filtered or unexported fields }
客户端透传
func (*Extra) Descriptor
deprecated
func (*Extra) GetClientIP ¶
func (*Extra) GetDeviceBrand ¶
func (*Extra) GetDeviceId ¶
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"` Limit *int64 `protobuf:"varint,2,opt,name=limit,proto3,oneof" json:"limit,omitempty"` LastToken *string `protobuf:"bytes,3,opt,name=lastToken,proto3,oneof" json:"lastToken,omitempty"` Backward *bool `protobuf:"varint,4,opt,name=backward,proto3,oneof" json:"backward,omitempty"` Offset *int64 `protobuf:"varint,5,opt,name=offset,proto3,oneof" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*PaginationOptions) Descriptor
deprecated
func (*PaginationOptions) Descriptor() ([]byte, []int)
Deprecated: Use PaginationOptions.ProtoReflect.Descriptor instead.
func (*PaginationOptions) FastWrite ¶
func (x *PaginationOptions) FastWrite(buf []byte) (offset int)
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) Size ¶
func (x *PaginationOptions) Size() (n int)
func (*PaginationOptions) String ¶
func (x *PaginationOptions) String() string
type UserMeta ¶
type UserMeta struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` AppId APP `protobuf:"varint,2,opt,name=appId,proto3,enum=basic.APP" json:"appId,omitempty"` DeviceId string `protobuf:"bytes,3,opt,name=deviceId,proto3" json:"deviceId,omitempty"` SessionUserId string `protobuf:"bytes,4,opt,name=sessionUserId,proto3" json:"sessionUserId,omitempty"` SessionAppId APP `protobuf:"varint,5,opt,name=sessionAppId,proto3,enum=basic.APP" json:"sessionAppId,omitempty"` SessionDeviceId string `protobuf:"bytes,6,opt,name=sessionDeviceId,proto3" json:"sessionDeviceId,omitempty"` IsLogin bool `protobuf:"varint,7,opt,name=isLogin,proto3" json:"isLogin,omitempty"` WechatUserMeta *WechatUserMeta `protobuf:"bytes,8,opt,name=wechatUserMeta,proto3,oneof" json:"wechatUserMeta,omitempty"` // contains filtered or unexported fields }
func (*UserMeta) Descriptor
deprecated
func (*UserMeta) GetDeviceId ¶
func (*UserMeta) GetIsLogin ¶
func (*UserMeta) GetSessionAppId ¶
func (*UserMeta) GetSessionDeviceId ¶
func (*UserMeta) GetSessionUserId ¶
func (*UserMeta) GetWechatUserMeta ¶
func (x *UserMeta) GetWechatUserMeta() *WechatUserMeta
func (*UserMeta) ProtoMessage ¶
func (*UserMeta) ProtoMessage()
func (*UserMeta) ProtoReflect ¶
func (x *UserMeta) ProtoReflect() protoreflect.Message
type WechatUserMeta ¶
type WechatUserMeta struct { AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty"` OpenId string `protobuf:"bytes,2,opt,name=openId,proto3" json:"openId,omitempty"` PlatformId string `protobuf:"bytes,3,opt,name=platformId,proto3" json:"platformId,omitempty"` UnionId string `protobuf:"bytes,4,opt,name=unionId,proto3" json:"unionId,omitempty"` // contains filtered or unexported fields }
func (*WechatUserMeta) Descriptor
deprecated
func (*WechatUserMeta) Descriptor() ([]byte, []int)
Deprecated: Use WechatUserMeta.ProtoReflect.Descriptor instead.
func (*WechatUserMeta) FastWrite ¶
func (x *WechatUserMeta) FastWrite(buf []byte) (offset int)
func (*WechatUserMeta) GetAppId ¶
func (x *WechatUserMeta) GetAppId() string
func (*WechatUserMeta) GetOpenId ¶
func (x *WechatUserMeta) GetOpenId() string
func (*WechatUserMeta) GetPlatformId ¶
func (x *WechatUserMeta) GetPlatformId() string
func (*WechatUserMeta) GetUnionId ¶
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) Size ¶
func (x *WechatUserMeta) Size() (n int)
func (*WechatUserMeta) String ¶
func (x *WechatUserMeta) String() string
Click to show internal directories.
Click to hide internal directories.