internal

package
v0.0.1-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 1, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeFromBase64

func DecodeFromBase64(input string) string

func EncodeToBase64

func EncodeToBase64(input string) string

encodeToBase64 encodes a string to base64

func GenerateGUID

func GenerateGUID() string

func GeneratePassword

func GeneratePassword(length int, enableSpecialChars bool, enableNumeric bool, enableCapital bool) string

func IndentJSON

func IndentJSON(input string) (string, error)

func Json2Yaml

func Json2Yaml(json string) (string, error)

func MinifyJSON

func MinifyJSON(input string) (string, error)

func Yaml2Json

func Yaml2Json(yamlString string) (string, error)

Types

type JWT

type JWT struct {
	Header    string
	Claims    string
	Signature string
}

func DecodeJWT

func DecodeJWT(jwtToken string) (JWT, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL