app

package
v0.0.0-...-e9665ab Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name        = "App"
	ShortName   = "App"
	Description = "This is a boilerplate project for applications written in Go."
	ThemeColour = "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")
	ErrUnauthorised   = errors.New("unauthorised")
	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 BaseURL = ""

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