mirror of
https://dev.azure.com/schwarzit/schwarzit.stackit-public/_git/audit-go
synced 2026-02-11 02:27:25 +00:00
16 lines
422 B
Go
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"`
|
|
}
|