# Packages
No description provided by the author
# 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
Decrypts a password into a string.
ElementsInSlicesEqual sorts and compare slices of int64 and returns that slices are equal.
Encrypts str into a password_hash using the encryption key in the environment.
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
GeneratedXRhIdentity returns a base64 encoded header to use as x-rh-identity when one is not provided.
IdentityFromKafkaHeaders returns an identity from the provided Kafka headers, if the array contains one of the "x-rh-sources-account-number" or "x-rh-identity" headers.
InitializeEncryption allows reinitializing the encryption key by reading from the "ENCRYPTION_KEY" environment variable again.
InterfaceToInt64 takes an interface and returns an int64 for any float64, int64 or string received -whether they are pointers or not-.
InterfaceToString takes a number in interface format and converts it to the string representation.
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
SliceContainsString returns true if the specified target is present in the given slice.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
Simple regex - which matches only the characters.
No description provided by the author
# Structs
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
No description provided by the author