enums

package
v0.0.0-...-035f8e2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StatusCode_name = map[int32]string{
		0:   "OK",
		500: "FAILED",
	}
	StatusCode_value = map[string]int32{
		"OK":     0,
		"FAILED": 500,
	}
)

Enum value maps for StatusCode.

View Source
var File_enums_enums_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type StatusCode

type StatusCode int32
const (
	StatusCode_OK     StatusCode = 0
	StatusCode_FAILED StatusCode = 500
)

func (StatusCode) Descriptor

func (StatusCode) Descriptor() protoreflect.EnumDescriptor

func (StatusCode) Enum

func (x StatusCode) Enum() *StatusCode

func (StatusCode) EnumDescriptor deprecated

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

Deprecated: Use StatusCode.Descriptor instead.

func (StatusCode) Number

func (x StatusCode) Number() protoreflect.EnumNumber

func (StatusCode) String

func (x StatusCode) String() string

func (StatusCode) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳