audit-go/audit/messaging/amqp_config.go
2025-01-13 16:42:12 +01:00

16 lines
422 B
Go

package messaging
const AmqpTopicPrefix = "topic://"
const connectionTimeoutSeconds = 10
const disconnectionTimeoutSeconds = 10
type AmqpConnectionConfig struct {
BrokerUrl string `json:"brokerUrl"`
Username string `json:"username"`
Password string `json:"password"`
}
type AmqpConnectionPoolConfig struct {
Parameters AmqpConnectionConfig `json:"parameters"`
PoolSize int `json:"poolSize"`
}