command
module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Sep 22, 2024
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.
README
¶
Usage
In main():
ctx := context.Background()
app, shutdown := NewLogrusAndTraceAwareFiberApp(ctx, "mailgun-api")
[...]
SafeShutdown(app.Listen(":8080"), shutdown(ctx))
And then inside the request handlers:
logger := GetLogger(c)
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.