Documentation

Index

Constants

This section is empty.

Variables

View Source
var E_ExtensionEnum = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MethodOptions)(nil),
	ExtensionType: (*Enum)(nil),
	Field:         5000,
	Name:          "goproto.proto.legacy.extension_enum",
	Tag:           "varint,5000,opt,name=extension_enum,enum=goproto.proto.legacy.Enum",
	Filename:      "internal/testprotos/legacy/bug1052/bug1052.proto",
}
View Source
var Enum_name = map[int32]string{
	0: "ZERO",
}
View Source
var Enum_value = map[string]int32{
	"ZERO": 0,
}

Functions

This section is empty.

Types

type Enum

type Enum int32
const (
	Enum_ZERO Enum = 0
)

func (Enum) Enum

func (x Enum) Enum() *Enum

func (Enum) EnumDescriptor

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

func (Enum) String

func (x Enum) String() string

func (*Enum) UnmarshalJSON

func (x *Enum) UnmarshalJSON(data []byte) error

Source Files