meowchat

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 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_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

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 SearchOptions

type SearchOptions struct {
	Keyword   string  `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty" form:"keyword" query:"keyword"`
	Page      int64   `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty" form:"page" query:"page"`
	Limit     *int64  `protobuf:"varint,3,opt,name=limit,proto3,oneof" json:"limit,omitempty" form:"limit" query:"limit"`
	LastToken *string `protobuf:"bytes,4,opt,name=lastToken,proto3,oneof" json:"lastToken,omitempty" form:"lastToken" query:"lastToken"`
	// contains filtered or unexported fields
}

func (*SearchOptions) Descriptor deprecated

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

Deprecated: Use SearchOptions.ProtoReflect.Descriptor instead.

func (*SearchOptions) GetKeyword

func (x *SearchOptions) GetKeyword() string

func (*SearchOptions) GetLastToken

func (x *SearchOptions) GetLastToken() string

func (*SearchOptions) GetLimit

func (x *SearchOptions) GetLimit() int64

func (*SearchOptions) GetPage

func (x *SearchOptions) GetPage() int64

func (*SearchOptions) ProtoMessage

func (*SearchOptions) ProtoMessage()

func (*SearchOptions) ProtoReflect

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

func (*SearchOptions) Reset

func (x *SearchOptions) Reset()

func (*SearchOptions) String

func (x *SearchOptions) 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"`
	// contains filtered or unexported fields
}

func (*UserMeta) Descriptor deprecated

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

Deprecated: Use UserMeta.ProtoReflect.Descriptor instead.

func (*UserMeta) GetAppID

func (x *UserMeta) GetAppID() int64

func (*UserMeta) GetDeviceID

func (x *UserMeta) GetDeviceID() string

func (*UserMeta) GetIsLogin

func (x *UserMeta) GetIsLogin() bool

func (*UserMeta) GetSessionAppID

func (x *UserMeta) GetSessionAppID() int64

func (*UserMeta) GetSessionDeviceID

func (x *UserMeta) GetSessionDeviceID() string

func (*UserMeta) GetSessionUserID

func (x *UserMeta) GetSessionUserID() string

func (*UserMeta) GetUserID

func (x *UserMeta) GetUserID() string

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 WechatInfo

type WechatInfo 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"`
	UnionID string `protobuf:"bytes,3,opt,name=unionID,proto3" json:"unionID,omitempty" form:"unionID" query:"unionID"`
	// contains filtered or unexported fields
}

func (*WechatInfo) Descriptor deprecated

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

Deprecated: Use WechatInfo.ProtoReflect.Descriptor instead.

func (*WechatInfo) GetAppID

func (x *WechatInfo) GetAppID() string

func (*WechatInfo) GetOpenID

func (x *WechatInfo) GetOpenID() string

func (*WechatInfo) GetUnionID

func (x *WechatInfo) GetUnionID() string

func (*WechatInfo) ProtoMessage

func (*WechatInfo) ProtoMessage()

func (*WechatInfo) ProtoReflect

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

func (*WechatInfo) Reset

func (x *WechatInfo) Reset()

func (*WechatInfo) String

func (x *WechatInfo) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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