Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidConfig = fmt.Errorf("invalid config") ErrInfraUnimplemented = fmt.Errorf("unimplemented infra") )
Functions ¶
This section is empty.
Types ¶
type AWSSQSInfraConfig ¶ added in v0.3.0
type AzureServiceBusInfraConfig ¶ added in v0.3.0
type GCPPubSubInfraConfig ¶ added in v0.3.0
type MQInfra ¶
type MQInfra interface {
Exist(ctx context.Context) (bool, error)
Declare(ctx context.Context) error
TearDown(ctx context.Context) error
}
func New ¶
func New(cfg *MQInfraConfig) MQInfra
type MQInfraConfig ¶ added in v0.3.0
type MQInfraConfig struct {
AWSSQS *AWSSQSInfraConfig
AzureServiceBus *AzureServiceBusInfraConfig
GCPPubSub *GCPPubSubInfraConfig
RabbitMQ *RabbitMQInfraConfig
Policy Policy
}
type RabbitMQInfraConfig ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.