utils

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	QuantumSafeFlag = FlagDef{
		Name:      "quantum-safe",
		Shorthand: "q",
		Usage:     "Use post-quantum cryptography (Kyber1024)",
	}
)

Functions

func ErroredExit

func ErroredExit()

func ExitOnError

func ExitOnError(err error)

func ExitOnErrorWithMessage

func ExitOnErrorWithMessage(errMessage string)

func SafeExit

func SafeExit()

Types

type FlagDef

type FlagDef struct {
	Name      string
	Shorthand string
	Usage     string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳