package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jun 14, 2025
License: MIT
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
AuthMiddleware is a middleware to check if each request is correctly authorized.
Returs the next http handler to be processed.
ValidatePathParams checks if the id parameter of an endpoint is a valid number.
Returs the next http handler to be processed.
type APIServer struct {
Port int
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.