Documentation ¶
Index ¶
Constants ¶
View Source
const ( ContextLogKey = key("console-log") ContextRequestID = key("request-id") ContextRequestUserID = key("request-user-id") ContextRequestUserAgent = key("request-user-agent") ContextRequestHost = key("request-host") ContextRequestRemoteAddr = key("request-remote-addr") ContextAuditKey = key("request-audit-entry") ContextClientIP = key("client-ip") )
Variables ¶
View Source
var ErrCantDetermineMinIOImage = errors.New("can't determine MinIO Image")
Functions ¶
func ClientIPFromContext ¶ added in v0.30.0
ClientIPFromContext attempts to get the Client IP from a context, if it's not present, it returns 127.0.0.1
func DecodeBase64 ¶ added in v0.17.0
DecodeBase64 : decoded base64 input into utf-8 text
func GetLatestMinIOImage ¶ added in v0.15.1
getLatestMinIOImage returns the latest docker image for MinIO if found on the internet
func PossibleParityValues ¶
PossibleParityValues returns possible parities for input args, parties are calculated in uniform manner for one pool or multiple pools, ensuring that parities returned are common and applicable across all pools.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.