brokerService

package
v0.0.0-...-1d97044 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrokerServiceType

type BrokerServiceType int32

BrokerServiceType x ENUM( HTTP Kafka Memory NATS RabbitMQ Unknown )

const (
	// BrokerServiceTypeHTTP is a BrokerServiceType of type HTTP
	BrokerServiceTypeHTTP BrokerServiceType = iota
	// BrokerServiceTypeKafka is a BrokerServiceType of type Kafka
	BrokerServiceTypeKafka
	// BrokerServiceTypeMemory is a BrokerServiceType of type Memory
	BrokerServiceTypeMemory
	// BrokerServiceTypeNATS is a BrokerServiceType of type NATS
	BrokerServiceTypeNATS
	// BrokerServiceTypeRabbitMQ is a BrokerServiceType of type RabbitMQ
	BrokerServiceTypeRabbitMQ
	// BrokerServiceTypeUnknown is a BrokerServiceType of type Unknown
	BrokerServiceTypeUnknown
)

func ParseBrokerServiceType

func ParseBrokerServiceType(name string) (BrokerServiceType, *errorAVA.Error)

ParseBrokerServiceType attempts to convert a string to a BrokerServiceType

func (BrokerServiceType) MarshalText

func (x BrokerServiceType) MarshalText() ([]byte, *errorAVA.Error)

MarshalText implements the text marshaller method

func (BrokerServiceType) String

func (x BrokerServiceType) String() string

String implements the Stringer interface.

func (BrokerServiceType) UnmarshalText

func (x BrokerServiceType) UnmarshalText(text []byte) (BrokerServiceType, *errorAVA.Error)

UnmarshalText implements the text unmarshaller method

Jump to

Keyboard shortcuts

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