17 lines
571 B
Go
17 lines
571 B
Go
package config
|
|
|
|
// AzureServiceBusConfig holds configuration for Azure Service Bus
|
|
type AzureServiceBusConfig struct {
|
|
// ConnectionString is the Azure Service Bus connection string
|
|
// If provided, this will be used for authentication
|
|
ConnectionString string
|
|
|
|
// Namespace is the Azure Service Bus namespace
|
|
// Required when using managed identity authentication
|
|
Namespace string
|
|
|
|
// UseManagedIdentity determines whether to use managed identity for authentication
|
|
// If true, managed identity will be used instead of connection string
|
|
UseManagedIdentity bool
|
|
}
|