Documentation ¶
Index ¶
- func GetTraceID(ctx context.Context) string
- func IsShutdown(err error) bool
- func NewShutdownError(msg string) error
- func Respond(ctx context.Context, w http.ResponseWriter, data any, statusCode int) error
- func SetStatusCode(ctx context.Context, statusCode int) error
- type Circuit
- type Route
- type Tux
- type Values
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTraceID ¶ added in v0.0.6
func IsShutdown ¶ added in v0.0.8
func NewShutdownError ¶ added in v0.0.8
Types ¶
type Circuit ¶ added in v0.0.5
Circuit is a function designed to run some code before and/or after another handler.
type Route ¶ added in v0.0.4
The Route type is an adapter to allow the use of our advanced functions as HTTP handlers.
Click to show internal directories.
Click to hide internal directories.