Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // PingInterval - Amount of time between in-band "pings" PingInterval = 2 * time.Minute )
Functions ¶
func MtlsConnect ¶
MtlsConnect - Get a TLS connection or die trying
func ReadEnvelope ¶
ReadEnvelope - Reads a message from the TLS connection using length prefix framing
func WriteEnvelope ¶
WriteEnvelope - Writes a message to the TLS socket using length prefix framing which is a fancy way of saying we write the length of the message then the message e.g. [uint32 length|message] so the receiver can delimit messages properly
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.