Documentation ¶
Index ¶
- type Config
- type StanInput
- func (s *StanInput) Close() error
- func (s *StanInput) SetEventProcessors(ps map[string]map[string]interface{}, logger *log.Logger, ...) error
- func (s *StanInput) SetLogger(logger *log.Logger)
- func (s *StanInput) SetName(name string)
- func (s *StanInput) SetOutputs(outs map[string]outputs.Output)
- func (s *StanInput) Start(ctx context.Context, name string, cfg map[string]interface{}, ...) error
- func (s *StanInput) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string `mapstructure:"name,omitempty"` Address string `mapstructure:"address,omitempty"` Subject string `mapstructure:"subject,omitempty"` Queue string `mapstructure:"queue,omitempty"` Username string `mapstructure:"username,omitempty"` Password string `mapstructure:"password,omitempty"` ConnectTimeWait time.Duration `mapstructure:"connect-time-wait,omitempty"` TLS *types.TLSConfig `mapstructure:"tls,omitempty" json:"tls,omitempty"` ClusterName string `mapstructure:"cluster-name,omitempty"` PingInterval int `mapstructure:"ping-interval,omitempty"` PingRetry int `mapstructure:"ping-retry,omitempty"` Format string `mapstructure:"format,omitempty"` Debug bool `mapstructure:"debug,omitempty"` NumWorkers int `mapstructure:"num-workers,omitempty"` Outputs []string `mapstructure:"outputs,omitempty"` EventProcessors []string `mapstructure:"event-processors,omitempty"` }
Config //
Click to show internal directories.
Click to hide internal directories.