http

package
v0.0.0-...-ffd3783 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AffirmationController

type AffirmationController struct {
	// contains filtered or unexported fields
}

func (*AffirmationController) RegisterRoutes

func (c *AffirmationController) RegisterRoutes(r *mux.Router)

type AffirmationRequestHandler

type AffirmationRequestHandler struct{}

func NewAffirmationRequestHandler

func NewAffirmationRequestHandler() *AffirmationRequestHandler

type AffirmationResponder

type AffirmationResponder interface {
	RespondSuccessOk(w http.ResponseWriter, data any, n int)
	RespondSuccessNoContent(w http.ResponseWriter)
	RespondErrorNotFound(w http.ResponseWriter)
	RespondError(w http.ResponseWriter, message string, httpStatus int)
}

type Bootstrap

type Bootstrap struct{}

func NewBootstrap

func NewBootstrap() *Bootstrap

func (*Bootstrap) BootstrapControllers

func (b *Bootstrap) BootstrapControllers(db *dbCommon.DB) []httpCommon.Controller

Jump to

Keyboard shortcuts

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