Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Test_name = map[int32]string{ 0: "NotFound", 1: "Unknown", } Test_value = map[string]int32{ "NotFound": 0, "Unknown": 1, } )
Enum value maps for Test.
View Source
var ErrTestNotfound = &errors.Error{Reason: "test/Test." + Test_NotFound.String(), Code: 100000}
View Source
var ErrTestUnknown = &errors.Error{Reason: "test/Test." + Test_NotFound.String(), Code: 100001}
View Source
var File_errors_test_test_proto protoreflect.FileDescriptor
Functions ¶
func IsTestNotfound ¶ added in v0.1.27
func IsTestUnknown ¶ added in v0.1.27
Types ¶
type Test ¶
type Test int32
func (Test) Descriptor ¶
func (Test) Descriptor() protoreflect.EnumDescriptor
func (Test) EnumDescriptor
deprecated
func (Test) Number ¶
func (x Test) Number() protoreflect.EnumNumber
func (Test) Type ¶
func (Test) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.