observability

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2024 License: MIT Imports: 18 Imported by: 0

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

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL