package
0.1.5
Repository: https://github.com/w6d-io/ci-status.git
Documentation: pkg.go.dev

# Functions

AddGET adds handler and path to the engine.
AddPOST adds handler and path to the engine.
Auth manage the authentication against the API.
CorrelationID return a gin handler and add a field in the http header.
GetClientIP gets the correct IP for the end client instead of the proxy.
GetDurationInMilliseconds takes a start time and returns a duration in milliseconds.
LogMiddleware logs a gin HTTP request in JSON format, with some additional custom key/values.
Run execute le gin router.
Stop the http server.