broker

package
v0.0.0-...-df75a1c Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ENCODER_name = map[int32]string{
		0: "ENCODER_UNSPECIFIED",
		1: "ENCODER_JSON",
		2: "ENCODER_PROTOBUF",
	}
	ENCODER_value = map[string]int32{
		"ENCODER_UNSPECIFIED": 0,
		"ENCODER_JSON":        1,
		"ENCODER_PROTOBUF":    2,
	}
)

Enum value maps for ENCODER.

View Source
var (
	// generate a broker interface
	//
	// optional bool generate = 80001;
	E_Generate = &file_broker_proto_extTypes[0]
	// encode method
	//
	// optional broker.ENCODER encoder = 80002;
	E_Encoder = &file_broker_proto_extTypes[1]
)

Extension fields to descriptorpb.MessageOptions.

View Source
var File_broker_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ENCODER

type ENCODER int32
const (
	// default is JSON
	ENCODER_ENCODER_UNSPECIFIED ENCODER = 0
	// JSON
	ENCODER_ENCODER_JSON ENCODER = 1
	// PROTOBUF
	ENCODER_ENCODER_PROTOBUF ENCODER = 2
)

func (ENCODER) Descriptor

func (ENCODER) Descriptor() protoreflect.EnumDescriptor

func (ENCODER) Enum

func (x ENCODER) Enum() *ENCODER

func (ENCODER) EnumDescriptor deprecated

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

Deprecated: Use ENCODER.Descriptor instead.

func (ENCODER) Number

func (x ENCODER) Number() protoreflect.EnumNumber

func (ENCODER) String

func (x ENCODER) String() string

func (ENCODER) Type

func (ENCODER) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

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