Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupEventHub ¶
Types ¶
type Config ¶
type Config struct {
SubscriptionID string `json:"subscriptionId"`
EventHubNamespace string `json:"eventHubNamespace"`
EventHubName string `json:"eventHubName"`
CheckpointStorageAccountName string `json:"checkpointStorageAccountName"`
CheckpointStorageContainerName string `json:"checkpointStorageContainerName"`
TenantID string `json:"tenantId"`
ClientID config.SecretSource `json:"clientId"`
ClientSecret config.SecretSource `json:"clientSecret"`
EventConsumer EventConsumer
}
type EventConsumer ¶
type EventConsumer func(event *azeventhubs.ReceivedEventData) error
Click to show internal directories.
Click to hide internal directories.