Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Sink StanConfig `yaml:"event_sink"` Srcs map[string]StanConfig `yaml:"event_srcs"` }
Config is config read from file.
type EnvConfig ¶
type EnvConfig struct { PodName string `envconfig:"POD_NAME"` ConfigFile string `envconfig:"CONFIG_FILE" default:"config.yml"` LogLevel string `envconfig:"LOG_LEVEL" default:"debug"` }
EnvConfig is config from environment variables. Include config for NATS Streaming.
type EventErrorType ¶
type EventErrorType string
EventErrorType is the error type that appear in the failure/error event emitted
Click to show internal directories.
Click to hide internal directories.