Documentation
¶
Index ¶
Constants ¶
View Source
const API_PATH = "/api/"
View Source
const CONTENT_TYPE_HEADER = "Content-Type"
Variables ¶
View Source
var ApiMiddlewares = []middleware.Middleware{ middleware.Security, middleware.Database, middleware.Trazability, middleware.Checks, }
ApiMiddlewares is a list of middleware functions that will be applied to all API requests this list can be modified to add or remove middlewares the order of the middlewares is important, it will be applied in the order they are listed
Functions ¶
func Start ¶
func Start(configuration configuration.APIConfiguration, endpoints []apimodels.Endpoint)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.