Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoConsumerCfgDefined = errors.New("no amqp consumer defined")
View Source
var ErrTooManyRetries = errors.New("too many retries")
Functions ¶
Types ¶
type Subscriber ¶
type Subscriber struct { Name string Topic string // pipe definition Endpoint *config.EndpointConfig // timeout of the pipe defined by this subscriber Timeout time.Duration // Endpoint Extra configuration for customized behaviour ExtraConfig config.ExtraConfig Workers int MaxRate float64 }
Subscriber defines the configuration of a single subscriber/consumer to be initialized and maintained by the lura service
Click to show internal directories.
Click to hide internal directories.