Documentation ¶
Index ¶
Constants ¶
View Source
const ( BrokerNats = "nats" BrokerKafka = "kafka" )
View Source
const ( LogLevelDebug = "DEBUG" LogLevelInfo = "INFO" LogLevelWarn = "WARN" LogLevelError = "ERROR" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { BrokerType string NatsUrl string KafkaUrl string HttpEnabled bool HttpPort int RpcUrl string TopicIncomingRpcRequests string TopicOutgoingRpcResponses string TopicErrors string LogLevel LogLevelFlag ApmEnabled bool }
func NewDefaultConfig ¶
func NewDefaultConfig() Config
func (Config) ListenAddr ¶
type LogLevelFlag ¶
func NewLogLevelFlag ¶
func NewLogLevelFlag() LogLevelFlag
func (*LogLevelFlag) Set ¶
func (l *LogLevelFlag) Set(str string) error
func (LogLevelFlag) String ¶
func (l LogLevelFlag) String() string
func (LogLevelFlag) Type ¶
func (l LogLevelFlag) Type() string
Click to show internal directories.
Click to hide internal directories.