app

package
v0.0.0-...-4ffef1b Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name        = "App"
	ShortName   = "App"
	Description = "This is a boilerplate project for applications written in Go."
	ThemeColor  = "hsl(170, 45%, 30%)"

	SessionTTL        = 2 * time.Hour
	SignInThrottleTTL = 30 * time.Minute
)

Variables

View Source
var (
	ErrBadRequest     = errors.New("bad request")
	ErrNotFound       = errors.New("not found")
	ErrUnauthorized   = errors.New("unauthorized")
	ErrForbidden      = errors.New("forbidden")
	ErrMalformedInput = errors.New("malformed input")
	ErrInvalidInput   = errors.New("invalid input")
	ErrConflict       = errors.New("conflict")
	ErrRepoLogin      = errors.New("login")
)
View Source
var BasePath = ""

Functions

This section is empty.

Types

type ConflictError

type ConflictError struct {
	errsx.Map
}

func (ConflictError) Error

func (c ConflictError) Error() string

func (ConflictError) Unwrap

func (c ConflictError) Unwrap() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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