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.
View Source
var File_base_proto protoreflect.FileDescriptor
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 ¶
func (ServerCode) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.