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)
}
Click to show internal directories.
Click to hide internal directories.