Versions in this module Expand all Collapse all v1 v1.0.0 Sep 30, 2024 Changes in this version + const LogLevelDebug + const LogLevelError + const LogLevelInfo + func Decrypt(encodedPlaintext string, privateKey string) (string, error) + func Encrypt(plaintext string, privateKey string) string + func FormatJSON(jsonString string) string + func GetTimeWindow(window string) (int, time.Duration) + func IsJsonValid(jsonString string, obj interface{}) bool + func Log(logLevel string, message string, args ...interface{}) + func LogDebug(message string, args ...interface{}) + func LogError(message string, args ...interface{}) + func LogInfo(message string, args ...interface{}) + func ReadJsonFromFile(path string) string + func ResponseJSON(w http.ResponseWriter, data interface{}, status int) + func ToJsonFromObject(object interface{}) string + func ToMapFromObject(obj interface{}) map[string]interface