Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EventHubFromEnv ¶
EventHubFromEnv creates a new *eventhub.Hub authenticated via the AZGO_EVENTHUBS_CONNECTION_STRING environment variable. The event hub should be pre-created and specified as part of the connection string.
func Receive ¶
func Receive() error
Receive receives events from the event hub, marshals them to JSON, and writes them to the standard output.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.