Documentation ¶
Index ¶
- Variables
- type APP
- 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 UserMeta
- func (*UserMeta) Descriptor() ([]byte, []int)deprecated
- 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) 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 ( APP_name = map[int32]string{ 0: "Unknown", 1: "Meowchat", 2: "MeowchatManager", } APP_value = map[string]int32{ "Unknown": 0, "Meowchat": 1, "MeowchatManager": 2, } )
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 ¶ added in v1.0.6
type APP int32
func (APP) Descriptor ¶ added in v1.0.6
func (APP) Descriptor() protoreflect.EnumDescriptor
func (APP) EnumDescriptor
deprecated
added in
v1.0.6
func (APP) Number ¶ added in v1.0.6
func (x APP) Number() protoreflect.EnumNumber
func (APP) Type ¶ added in v1.0.6
func (APP) Type() protoreflect.EnumType
type Extra ¶ added in v1.0.6
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
added in
v1.0.6
func (*Extra) GetClientIP ¶ added in v1.0.6
func (*Extra) GetDeviceBrand ¶ added in v1.0.6
func (*Extra) GetDeviceId ¶ added in v1.0.6
func (*Extra) GetDevicePlatform ¶ added in v1.0.6
func (*Extra) GetLanguage ¶ added in v1.0.6
func (*Extra) GetOperateSystem ¶ added in v1.0.6
func (*Extra) GetResolution ¶ added in v1.0.6
func (*Extra) ProtoMessage ¶ added in v1.0.6
func (*Extra) ProtoMessage()
func (*Extra) ProtoReflect ¶ added in v1.0.6
func (x *Extra) ProtoReflect() protoreflect.Message
type PaginationOptions ¶ added in v1.0.6
type PaginationOptions struct { Page *int64 `protobuf:"varint,1,opt,name=page,proto3,oneof" json:"page" form:"page" query:"page"` Limit *int64 `protobuf:"varint,2,opt,name=limit,proto3,oneof" json:"limit" form:"limit" query:"limit"` LastToken *string `protobuf:"bytes,3,opt,name=lastToken,proto3,oneof" json:"lastToken" form:"lastToken" query:"lastToken"` Backward *bool `protobuf:"varint,4,opt,name=backward,proto3,oneof" json:"backward" form:"backward" query:"backward"` Offset *int64 `protobuf:"varint,5,opt,name=offset,proto3,oneof" json:"offset" form:"offset" query:"offset"` // contains filtered or unexported fields }
func (*PaginationOptions) Descriptor
deprecated
added in
v1.0.6
func (*PaginationOptions) Descriptor() ([]byte, []int)
Deprecated: Use PaginationOptions.ProtoReflect.Descriptor instead.
func (*PaginationOptions) GetBackward ¶ added in v1.0.6
func (x *PaginationOptions) GetBackward() bool
func (*PaginationOptions) GetLastToken ¶ added in v1.0.6
func (x *PaginationOptions) GetLastToken() string
func (*PaginationOptions) GetLimit ¶ added in v1.0.6
func (x *PaginationOptions) GetLimit() int64
func (*PaginationOptions) GetOffset ¶ added in v1.0.6
func (x *PaginationOptions) GetOffset() int64
func (*PaginationOptions) GetPage ¶ added in v1.0.6
func (x *PaginationOptions) GetPage() int64
func (*PaginationOptions) ProtoMessage ¶ added in v1.0.6
func (*PaginationOptions) ProtoMessage()
func (*PaginationOptions) ProtoReflect ¶ added in v1.0.6
func (x *PaginationOptions) ProtoReflect() protoreflect.Message
func (*PaginationOptions) Reset ¶ added in v1.0.6
func (x *PaginationOptions) Reset()
func (*PaginationOptions) String ¶ added in v1.0.6
func (x *PaginationOptions) String() string
type UserMeta ¶ added in v1.0.6
type UserMeta struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty" form:"userId" query:"userId"` AppId APP `protobuf:"varint,2,opt,name=appId,proto3,enum=basic.APP" 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 APP `` /* 134-byte string literal not displayed */ 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
added in
v1.0.6
func (*UserMeta) GetDeviceId ¶ added in v1.0.6
func (*UserMeta) GetIsLogin ¶ added in v1.0.6
func (*UserMeta) GetSessionAppId ¶ added in v1.0.6
func (*UserMeta) GetSessionDeviceId ¶ added in v1.0.6
func (*UserMeta) GetSessionUserId ¶ added in v1.0.6
func (*UserMeta) GetWechatUserMeta ¶ added in v1.0.6
func (x *UserMeta) GetWechatUserMeta() *WechatUserMeta
func (*UserMeta) ProtoMessage ¶ added in v1.0.6
func (*UserMeta) ProtoMessage()
func (*UserMeta) ProtoReflect ¶ added in v1.0.6
func (x *UserMeta) ProtoReflect() protoreflect.Message
type WechatUserMeta ¶ added in v1.0.6
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
added in
v1.0.6
func (*WechatUserMeta) Descriptor() ([]byte, []int)
Deprecated: Use WechatUserMeta.ProtoReflect.Descriptor instead.
func (*WechatUserMeta) GetAppId ¶ added in v1.0.6
func (x *WechatUserMeta) GetAppId() string
func (*WechatUserMeta) GetOpenId ¶ added in v1.0.6
func (x *WechatUserMeta) GetOpenId() string
func (*WechatUserMeta) GetPlatformId ¶ added in v1.0.6
func (x *WechatUserMeta) GetPlatformId() string
func (*WechatUserMeta) GetUnionId ¶ added in v1.0.6
func (x *WechatUserMeta) GetUnionId() string
func (*WechatUserMeta) ProtoMessage ¶ added in v1.0.6
func (*WechatUserMeta) ProtoMessage()
func (*WechatUserMeta) ProtoReflect ¶ added in v1.0.6
func (x *WechatUserMeta) ProtoReflect() protoreflect.Message
func (*WechatUserMeta) Reset ¶ added in v1.0.6
func (x *WechatUserMeta) Reset()
func (*WechatUserMeta) String ¶ added in v1.0.6
func (x *WechatUserMeta) String() string
Click to show internal directories.
Click to hide internal directories.