utils

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2021 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvOrDefault added in v0.2.0

func EnvOrDefault(name, def string) string

Types

type HttpError

type HttpError struct {
	Code    int
	Err     error
	Message string
}

func (*HttpError) Error

func (err *HttpError) Error() string

func (*HttpError) ErrorAndStack

func (err *HttpError) ErrorAndStack() (string, string)

func (*HttpError) StackTrace

func (err *HttpError) StackTrace() string

Jump to

Keyboard shortcuts

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