Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParsedConn ¶
type ParsedConn struct { Host string Suffix string Namespace string HubName string KeyName string Key string }
ParsedConn is the structure of a parsed Service Bus or Event Hub connection string.
func ParsedConnectionFromStr ¶
func ParsedConnectionFromStr(connStr string) (*ParsedConn, error)
ParsedConnectionFromStr takes a string connection string from the Azure portal and returns the parsed representation. The method will return an error if the Endpoint, SharedAccessKeyName or SharedAccessKey is empty.
Click to show internal directories.
Click to hide internal directories.