httphandlers

package
v0.0.0-...-25c9f67 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateHTTPServer

func CreateHTTPServer(log lib.ILogger, controllers ...Registrable) *gin.Engine

@externalDocs.description OpenAPI @externalDocs.url https://swagger.io/resources/open-api/

func RequestLogger

func RequestLogger(logger lib.ILogger) gin.HandlerFunc

RequestLogger is a middleware for logging HTTP requests

Types

type Registrable

type Registrable interface {
	RegisterRoutes(r interfaces.Router)
}

Jump to

Keyboard shortcuts

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