test

package
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

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{Message: "NotFound 找不到", Reason: "100000"}
View Source
var ErrTestUnknown = &errors.Error{Message: "Unknown 未知", Reason: "100001"}
View Source
var File_errors_test_test_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Test

type Test int32
const (
	// NotFound 找不到
	Test_NotFound Test = 0
	// Unknown 未知
	Test_Unknown Test = 1
)

func (Test) Descriptor

func (Test) Descriptor() protoreflect.EnumDescriptor

func (Test) Enum

func (x Test) Enum() *Test

func (Test) EnumDescriptor deprecated

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

Deprecated: Use Test.Descriptor instead.

func (Test) Number

func (x Test) Number() protoreflect.EnumNumber

func (Test) String

func (x Test) String() string

func (Test) Type

func (Test) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

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