base

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ServerCode_name = map[int32]string{
		0:     "OK",
		400:   "BAD_REQUEST",
		408:   "TIMEOUT",
		11000: "SEND_EMAIL_FAILED",
	}
	ServerCode_value = map[string]int32{
		"OK":                0,
		"BAD_REQUEST":       400,
		"TIMEOUT":           408,
		"SEND_EMAIL_FAILED": 11000,
	}
)

Enum value maps for ServerCode.

Functions

This section is empty.

Types

type ServerCode

type ServerCode int32

ResponseCodes is all codes of response.

const (
	ServerCode_OK                ServerCode = 0
	ServerCode_BAD_REQUEST       ServerCode = 400
	ServerCode_TIMEOUT           ServerCode = 408
	ServerCode_SEND_EMAIL_FAILED ServerCode = 11000
)

func (ServerCode) Descriptor

func (ServerCode) Descriptor() protoreflect.EnumDescriptor

func (ServerCode) Enum

func (x ServerCode) Enum() *ServerCode

func (ServerCode) EnumDescriptor deprecated

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

Deprecated: Use ServerCode.Descriptor instead.

func (ServerCode) Number

func (x ServerCode) Number() protoreflect.EnumNumber

func (ServerCode) String

func (x ServerCode) String() string

func (ServerCode) Type

Jump to

Keyboard shortcuts

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