v1

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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