controller

package
v0.0.0-...-0b4a9b8 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Unauthenticated error
	Unauthenticated = errors.New("unauthenticated")

	// InvalidPassword error
	InvalidPassword = errors.New("invalid password")

	// ErrPasswordAreNotEqual error
	ErrPasswordAreNotEqual = errors.New("new password are not equal")

	// ErrValidationToken error
	ErrValidationToken = errors.New("could not validate access token from headers")

	// ErrInsertingInDB error
	ErrInsertingInDB = errors.New("could not insert into db")

	// ErrBindingRequest error
	ErrBindingRequest = errors.New("could not bind request")

	// ErrNoContent error
	ErrNoContent = errors.New("no content found in db")
)

Functions

This section is empty.

Types

type Controller

type Controller interface {
	Run(ctx context.Context) error
	Shutdown(ctx context.Context) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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