Documentation ¶
Index ¶
- Variables
- type AccountStatus
- func (AccountStatus) Descriptor() protoreflect.EnumDescriptor
- func (x AccountStatus) Enum() *AccountStatus
- func (AccountStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountStatus) Number() protoreflect.EnumNumber
- func (x AccountStatus) String() string
- func (AccountStatus) Type() protoreflect.EnumType
- type AccountType
- func (AccountType) Descriptor() protoreflect.EnumDescriptor
- func (x AccountType) Enum() *AccountType
- func (AccountType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountType) Number() protoreflect.EnumNumber
- func (x AccountType) String() string
- func (AccountType) Type() protoreflect.EnumType
- type Gender
- type MultiDeviceOnlineStrategy
- func (MultiDeviceOnlineStrategy) Descriptor() protoreflect.EnumDescriptor
- func (x MultiDeviceOnlineStrategy) Enum() *MultiDeviceOnlineStrategy
- func (MultiDeviceOnlineStrategy) EnumDescriptor() ([]byte, []int)deprecated
- func (x MultiDeviceOnlineStrategy) Number() protoreflect.EnumNumber
- func (x MultiDeviceOnlineStrategy) String() string
- func (MultiDeviceOnlineStrategy) Type() protoreflect.EnumType
- type Platform
- type Terminal
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AccountType_name = map[int32]string{ 0: "Phone", 1: "Email", 2: "UserName", } AccountType_value = map[string]int32{ "Phone": 0, "Email": 1, "UserName": 2, } )
Enum value maps for AccountType.
View Source
var ( Gender_name = map[int32]string{ 0: "GENDER_UNKNOWN", 1: "GENDER_FEMALE", 2: "GENDER_MALE", } Gender_value = map[string]int32{ "GENDER_UNKNOWN": 0, "GENDER_FEMALE": 1, "GENDER_MALE": 2, } )
Enum value maps for Gender.
View Source
var ( AccountStatus_name = map[int32]string{ 0: "ACCOUNT_STATUS_UNKNOWN", 1: "ACCOUNT_STATUS_NORMAL", 2: "ACCOUNT_STATUS_FREEZE", } AccountStatus_value = map[string]int32{ "ACCOUNT_STATUS_UNKNOWN": 0, "ACCOUNT_STATUS_NORMAL": 1, "ACCOUNT_STATUS_FREEZE": 2, } )
Enum value maps for AccountStatus.
View Source
var ( Terminal_name = map[int32]string{ 0: "TerminalPC", 1: "TerminalMobile", 2: "TerminalWeb", } Terminal_value = map[string]int32{ "TerminalPC": 0, "TerminalMobile": 1, "TerminalWeb": 2, } )
Enum value maps for Terminal.
View Source
var ( Platform_name = map[int32]string{ 0: "IOS", 1: "Android", 2: "Windows", 3: "OSX", 4: "Web", 5: "MiniWeb", 6: "Linux", 7: "APad", 8: "IPad", } Platform_value = map[string]int32{ "IOS": 0, "Android": 1, "Windows": 2, "OSX": 3, "Web": 4, "MiniWeb": 5, "Linux": 6, "APad": 7, "IPad": 8, } )
Enum value maps for Platform.
View Source
var ( MultiDeviceOnlineStrategy_name = map[int32]string{ 0: "DefNotKick", 1: "AllLoginButSameTermKick", 2: "SingleTerminalLogin", 3: "WebAndOther", 4: "PCAndOther", } MultiDeviceOnlineStrategy_value = map[string]int32{ "DefNotKick": 0, "AllLoginButSameTermKick": 1, "SingleTerminalLogin": 2, "WebAndOther": 3, "PCAndOther": 4, } )
Enum value maps for MultiDeviceOnlineStrategy.
View Source
var File_common_enum_v2_enums_proto protoreflect.FileDescriptor
View Source
var File_common_enum_v2_plalfim_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccountStatus ¶
type AccountStatus int32
账号状态
const ( AccountStatus_ACCOUNT_STATUS_UNKNOWN AccountStatus = 0 // 状态未知 AccountStatus_ACCOUNT_STATUS_NORMAL AccountStatus = 1 // 状态正常 AccountStatus_ACCOUNT_STATUS_FREEZE AccountStatus = 2 // 状态冻结 )
func (AccountStatus) Descriptor ¶
func (AccountStatus) Descriptor() protoreflect.EnumDescriptor
func (AccountStatus) Enum ¶
func (x AccountStatus) Enum() *AccountStatus
func (AccountStatus) EnumDescriptor
deprecated
func (AccountStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountStatus.Descriptor instead.
func (AccountStatus) Number ¶
func (x AccountStatus) Number() protoreflect.EnumNumber
func (AccountStatus) String ¶
func (x AccountStatus) String() string
func (AccountStatus) Type ¶
func (AccountStatus) Type() protoreflect.EnumType
type AccountType ¶
type AccountType int32
账号类型
const ( AccountType_Phone AccountType = 0 //手机号 AccountType_Email AccountType = 1 //邮箱 AccountType_UserName AccountType = 2 //用户名密码注册 )
func (AccountType) Descriptor ¶
func (AccountType) Descriptor() protoreflect.EnumDescriptor
func (AccountType) Enum ¶
func (x AccountType) Enum() *AccountType
func (AccountType) EnumDescriptor
deprecated
func (AccountType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountType.Descriptor instead.
func (AccountType) Number ¶
func (x AccountType) Number() protoreflect.EnumNumber
func (AccountType) String ¶
func (x AccountType) String() string
func (AccountType) Type ¶
func (AccountType) Type() protoreflect.EnumType
type Gender ¶
type Gender int32
func (Gender) Descriptor ¶
func (Gender) Descriptor() protoreflect.EnumDescriptor
func (Gender) EnumDescriptor
deprecated
func (Gender) Number ¶
func (x Gender) Number() protoreflect.EnumNumber
func (Gender) Type ¶
func (Gender) Type() protoreflect.EnumType
type MultiDeviceOnlineStrategy ¶
type MultiDeviceOnlineStrategy int32
多设备在线策略
const ( MultiDeviceOnlineStrategy_DefNotKick MultiDeviceOnlineStrategy = 0 //默认多端不互踢都可以在线 MultiDeviceOnlineStrategy_AllLoginButSameTermKick MultiDeviceOnlineStrategy = 1 //全端都可以登录,但是同一端互踢 MultiDeviceOnlineStrategy_SingleTerminalLogin MultiDeviceOnlineStrategy = 2 //只有一个终端能够登录 MultiDeviceOnlineStrategy_WebAndOther MultiDeviceOnlineStrategy = 3 //web端可以同时在线,另一端只能登录 MultiDeviceOnlineStrategy_PCAndOther MultiDeviceOnlineStrategy = 4 //PC终端可以同时在线,但其他终端只能登录其中一个端点 )
func (MultiDeviceOnlineStrategy) Descriptor ¶
func (MultiDeviceOnlineStrategy) Descriptor() protoreflect.EnumDescriptor
func (MultiDeviceOnlineStrategy) Enum ¶
func (x MultiDeviceOnlineStrategy) Enum() *MultiDeviceOnlineStrategy
func (MultiDeviceOnlineStrategy) EnumDescriptor
deprecated
func (MultiDeviceOnlineStrategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use MultiDeviceOnlineStrategy.Descriptor instead.
func (MultiDeviceOnlineStrategy) Number ¶
func (x MultiDeviceOnlineStrategy) Number() protoreflect.EnumNumber
func (MultiDeviceOnlineStrategy) String ¶
func (x MultiDeviceOnlineStrategy) String() string
func (MultiDeviceOnlineStrategy) Type ¶
func (MultiDeviceOnlineStrategy) Type() protoreflect.EnumType
type Platform ¶
type Platform int32
设备平台
const ( Platform_IOS Platform = 0 Platform_Android Platform = 1 Platform_Windows Platform = 2 Platform_OSX Platform = 3 //mac os Platform_Web Platform = 4 //网页 Platform_MiniWeb Platform = 5 //迷你web Platform_Linux Platform = 6 //Linux设备 Platform_APad Platform = 7 //安卓平板 Platform_IPad Platform = 8 //苹果平板 )
func (Platform) Descriptor ¶
func (Platform) Descriptor() protoreflect.EnumDescriptor
func (Platform) EnumDescriptor
deprecated
func (Platform) Number ¶
func (x Platform) Number() protoreflect.EnumNumber
func (Platform) Type ¶
func (Platform) Type() protoreflect.EnumType
type Terminal ¶
type Terminal int32
终端
func (Terminal) Descriptor ¶
func (Terminal) Descriptor() protoreflect.EnumDescriptor
func (Terminal) EnumDescriptor
deprecated
func (Terminal) Number ¶
func (x Terminal) Number() protoreflect.EnumNumber
func (Terminal) Type ¶
func (Terminal) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.