Documentation
¶
Index ¶
- Variables
- type SessionType
- func (SessionType) Descriptor() protoreflect.EnumDescriptor
- func (x SessionType) Enum() *SessionType
- func (SessionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SessionType) Number() protoreflect.EnumNumber
- func (x SessionType) String() string
- func (SessionType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SessionType_name = map[int32]string{ 0: "SingleChat", 1: "GroupChat", 2: "Broadcast", } SessionType_value = map[string]int32{ "SingleChat": 0, "GroupChat": 1, "Broadcast": 2, } )
Enum value maps for SessionType.
View Source
var File_user_session_v1_session_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SessionType ¶
type SessionType int32
define session type and status
const ( SessionType_SingleChat SessionType = 0 SessionType_GroupChat SessionType = 1 // broadcast actually not a standard chat type, but we still use it here SessionType_Broadcast SessionType = 2 )
func (SessionType) Descriptor ¶
func (SessionType) Descriptor() protoreflect.EnumDescriptor
func (SessionType) Enum ¶
func (x SessionType) Enum() *SessionType
func (SessionType) EnumDescriptor
deprecated
func (SessionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SessionType.Descriptor instead.
func (SessionType) Number ¶
func (x SessionType) Number() protoreflect.EnumNumber
func (SessionType) String ¶
func (x SessionType) String() string
func (SessionType) Type ¶
func (SessionType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.