Documentation ¶
Overview ¶
Package generic contains component implementations that do not require external dependencies.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrSwitchNoConditionMet is returned when a message does not match any // output conditions. ErrSwitchNoConditionMet = errors.New("no switch output conditions were met by message") // ErrSwitchNoCasesMatched is returned when a message does not match any // output cases. ErrSwitchNoCasesMatched = errors.New("no switch cases were matched by message") // ErrSwitchNoOutputs is returned when creating a switchOutput type with less than // 2 outputs. ErrSwitchNoOutputs = errors.New("attempting to create switch with fewer than 2 cases") )
View Source
var ( // ErrBrokerNoInputs is returned when creating a broker with zero inputs. ErrBrokerNoInputs = errors.New("attempting to create broker input type with no inputs") )
View Source
var ( // ErrBrokerNoOutputs is returned when creating a Broker type with zero // outputs. ErrBrokerNoOutputs = errors.New("attempting to create broker output type with no outputs") )
Functions ¶
func RetryOutputIndefinitely ¶
RetryOutputIndefinitely returns a wrapped variant of the provided output where send errors downstream are automatically caught and retried rather than propagated upstream as nacks.
Types ¶
This section is empty.
Source Files ¶
- buffer_memory.go
- buffer_none.go
- buffer_system_window.go
- cache_file.go
- cache_memory.go
- cache_multilevel.go
- input_broker.go
- input_broker_fan_in.go
- input_dynamic.go
- input_dynamic_fan_in.go
- metrics_json_api.go
- metrics_logger.go
- metrics_none.go
- output_broker.go
- output_broker_fan_out.go
- output_broker_fan_out_sequential.go
- output_broker_greedy.go
- output_broker_round_robin.go
- output_dynamic.go
- output_dynamic_fan_out.go
- output_fallback.go
- output_retry.go
- output_switch.go
- package.go
- rate_limit_local.go
- tracer_none.go
Click to show internal directories.
Click to hide internal directories.