Registry / messaging / azure-azure-event-hubs-go

azure-azure-event-hubs-go

JSON →
library1.3.2gogounverified

Package eventhub provides functionality for interacting with Azure Event Hubs.

go get github.com/Azure/azure-event-hubs-go
INSTALL
IMPORT
SIG · AZURE-AZURE-EVENT-
A
azure-azure-event-hubs-go
messaginggov1.3.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

eventhub
github.com/Azure/azure-event-hubs-go

Sends a string message to an Azure Event Hub.

package main import ( "context" "github.com/Azure/azure-event-hubs-go" ) func main() { hub, _ := eventhub.NewHubFromConnectionString("Endpoint=sb://namespace.servicebus.windows.net/;SharedAccessKeyName=name;SharedAccessKey=key;EntityPath=eventhub-name") ctx := context.Background() hub.Send(ctx, eventhub.NewEventFromString("hello")) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
27 hits · last 30 days
node
26
Resources
azure-azure-event-hubs-go — go get azure-azure-event-hubs-go · libregistry