handlers

package
v0.0.0-...-0a73a5e Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTraceID

func GetTraceID(ctx context.Context) string

GetTraceID returns the trace id from the context if one exists.

func SetRoutes

func SetRoutes(log *logger.Logger, static embed.FS) error

SetRoutes constructs the handlers value and binds all the routes to the default mux.

Types

This section is empty.

Jump to

Keyboard shortcuts

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