pb

package
v0.0.0-...-748ecea Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StatusKind_name = map[int32]string{
		0: "STATUS_KIND_NONE",
		1: "STATUS_KIND_FREEZE",
		2: "STATUS_KIND_DEFAULT",
		3: "STATUS_KIND_PREMIUM",
		4: "STATUS_KIND_SUPPORT",
		5: "STATUS_KIND_ADMIN",
		6: "STATUS_KIND_JEDI",
	}
	StatusKind_value = map[string]int32{
		"STATUS_KIND_NONE":    0,
		"STATUS_KIND_FREEZE":  1,
		"STATUS_KIND_DEFAULT": 2,
		"STATUS_KIND_PREMIUM": 3,
		"STATUS_KIND_SUPPORT": 4,
		"STATUS_KIND_ADMIN":   5,
		"STATUS_KIND_JEDI":    6,
	}
)

Enum value maps for StatusKind.

View Source
var File_api_user_status_v1_user_status_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type StatusKind

type StatusKind int32

Kind of user`s status.

const (
	// For unknown value.
	// Can't be anyway.
	StatusKind_STATUS_KIND_NONE StatusKind = 0
	// Kind of user who was banned.
	StatusKind_STATUS_KIND_FREEZE StatusKind = 1
	// Kind hat is assigned to all users at registration.
	StatusKind_STATUS_KIND_DEFAULT StatusKind = 2
	// Kind of premium user.
	StatusKind_STATUS_KIND_PREMIUM StatusKind = 3
	// Kind of user support.
	StatusKind_STATUS_KIND_SUPPORT StatusKind = 4
	// Kind of user admin.
	StatusKind_STATUS_KIND_ADMIN StatusKind = 5
	// Kind of super user.
	StatusKind_STATUS_KIND_JEDI StatusKind = 6
)

func (StatusKind) Descriptor

func (StatusKind) Descriptor() protoreflect.EnumDescriptor

func (StatusKind) Enum

func (x StatusKind) Enum() *StatusKind

func (StatusKind) EnumDescriptor deprecated

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

Deprecated: Use StatusKind.Descriptor instead.

func (StatusKind) Number

func (x StatusKind) Number() protoreflect.EnumNumber

func (StatusKind) String

func (x StatusKind) String() string

func (StatusKind) Type

Jump to

Keyboard shortcuts

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