basic

package
v1.0.5 Latest Latest
Warning

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

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

Documentation

Index

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) Enum

func (x DevicePlatform) Enum() *DevicePlatform

func (DevicePlatform) EnumDescriptor deprecated

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

Deprecated: Use DevicePlatform.Descriptor instead.

func (DevicePlatform) Number

func (DevicePlatform) String

func (x DevicePlatform) String() string

func (DevicePlatform) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Extra.ProtoReflect.Descriptor instead.

func (*Extra) GetClientIP

func (x *Extra) GetClientIP() string

func (*Extra) GetDeviceBrand

func (x *Extra) GetDeviceBrand() string

func (*Extra) GetDeviceId added in v1.0.5

func (x *Extra) GetDeviceId() string

func (*Extra) GetDevicePlatform

func (x *Extra) GetDevicePlatform() string

func (*Extra) GetLanguage

func (x *Extra) GetLanguage() string

func (*Extra) GetOperateSystem

func (x *Extra) GetOperateSystem() string

func (*Extra) GetResolution

func (x *Extra) GetResolution() string

func (*Extra) ProtoMessage

func (*Extra) ProtoMessage()

func (*Extra) ProtoReflect

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

func (*Extra) Reset

func (x *Extra) Reset()

func (*Extra) String

func (x *Extra) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetCommunityId

func (x *Role) GetCommunityId() string

func (*Role) GetRoleType

func (x *Role) GetRoleType() string

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

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

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use UserMeta.ProtoReflect.Descriptor instead.

func (*UserMeta) GetAppId added in v1.0.5

func (x *UserMeta) GetAppId() int64

func (*UserMeta) GetDeviceId added in v1.0.5

func (x *UserMeta) GetDeviceId() string

func (*UserMeta) GetIsLogin

func (x *UserMeta) GetIsLogin() bool

func (*UserMeta) GetSessionAppId added in v1.0.5

func (x *UserMeta) GetSessionAppId() int64

func (*UserMeta) GetSessionDeviceId added in v1.0.5

func (x *UserMeta) GetSessionDeviceId() string

func (*UserMeta) GetSessionUserId added in v1.0.5

func (x *UserMeta) GetSessionUserId() string

func (*UserMeta) GetUserId added in v1.0.5

func (x *UserMeta) GetUserId() string

func (*UserMeta) GetWechatUserMeta

func (x *UserMeta) GetWechatUserMeta() *WechatUserMeta

func (*UserMeta) ProtoMessage

func (*UserMeta) ProtoMessage()

func (*UserMeta) ProtoReflect

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

func (*UserMeta) Reset

func (x *UserMeta) Reset()

func (*UserMeta) String

func (x *UserMeta) 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

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

Jump to

Keyboard shortcuts

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