Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectHost ¶
DetectHost reads the network address from a multicast message by joining the given multicast group and waiting for some data before reading the source IP and returning it.
func GetConnectionString ¶ added in v0.15.1
GetConnectionString extracts the port from the given address and constructs a new connection string with the host The resulting format is "host:port".
func LoadPrivateKey ¶
func LoadPrivateKey(privateKeyLocation string) *rsa.PrivateKey
LoadPrivateKey loads a private RSA key from the given location
func ReadPrivateKey ¶
func ReadPrivateKey(privateKeyLocation string) *rsa.PrivateKey
ReadPrivateKey reads a private RSA key from the given location, exiting on errors
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.