Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInfraNotFound is returned when infrastructure does not exist and auto provisioning is disabled ErrInfraNotFound = errors.New("required message queues do not exist. Either create them manually or set MQS_AUTO_PROVISION=true to enable auto-provisioning") )
Functions ¶
Types ¶
type Config ¶
type Config struct {
DeliveryMQ *mqinfra.MQInfraConfig
LogMQ *mqinfra.MQInfraConfig
AutoProvision *bool
}
func (*Config) SetSensiblePolicyDefaults ¶
func (cfg *Config) SetSensiblePolicyDefaults()
type Infra ¶ added in v0.4.0
type Infra struct {
// contains filtered or unexported fields
}
func NewInfraWithProvider ¶ added in v0.4.0
func NewInfraWithProvider(lock redislock.Lock, provider InfraProvider, shouldManage bool) *Infra
NewInfraWithProvider creates an Infra instance with custom lock and provider (for testing)
Click to show internal directories.
Click to hide internal directories.