Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBase64Padding ¶
AddBase64Padding : Returns base 64 string adding extra padding if needed.
func ApplyScaleFactor ¶
ApplyScaleFactor : Applies a scale factor to a given price. Scaled price will be represented on 8 bytes.
func CreateHmac ¶
CreateHmac : Returns Hash from input string.
Types ¶
type KeyDecodingMode ¶
type KeyDecodingMode string
KeyDecodingMode : Describing how keys should be decoded.
const ( // Utf8 : Key should be decoded as utf-8 string. Utf8 KeyDecodingMode = "utf-8" // Hexa : Key should be decoded as hexa string. Hexa KeyDecodingMode = "hexa" )
func ParseKeyDecodingMode ¶
func ParseKeyDecodingMode(input string) (KeyDecodingMode, error)
ParseKeyDecodingMode : Parses KeyDecodingMode from string.
func (KeyDecodingMode) String ¶
func (kd KeyDecodingMode) String() string
String : Returns the KeyDecodingMode string representation.
Click to show internal directories.
Click to hide internal directories.