httpapiconstraints

package
v2.11.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package httpapiconstraints contain types that can be used and implemented across the application to return specific HTTP status codes without pulling in large dependency trees.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IsUnauthorizedError

type IsUnauthorizedError interface {
	IsUnauthorized() bool
}

IsUnauthorizedError is an interface that can be implemented in other packages in order to return 404.

Jump to

Keyboard shortcuts

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