# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenerateNATSAuthJWT accepts either a path to a .creds file containing JWT credentials or the credentials directly in string format, and returns the correct nats connection authentication options.
GenerateNATSAuthNKey accepts either a path to a file containing a Nkey seed, or the Nkey seed directly in string format, and returns the correct nats connection authentication options.
No description provided by the author
Gunzip decompresses a slice of bytes and returns a slice of decompressed bytes or an error.
IsBase64 determines if a string is base64 encoded or not We store bus headers in map[string]string and binary headers get encoded as base64 In order to replay headers properly, we need.
No description provided by the author
No description provided by the author
WriteError is a wrapper for logging an error + writing to an error channel.