internal

package
v0.0.1-beta Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: Apache-2.0 Imports: 8 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 MinifyJSON

func MinifyJSON(input 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