conn

package
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2019 License: MIT Imports: 4 Imported by: 15

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL