Documentation
¶
Index ¶
- func AddRequestAttrs(ctx context.Context, attrs ...slog.Attr)
- func MemStatHandler(w http.ResponseWriter, r *http.Request)
- func WithLogger(logger *slog.Logger, handler http.Handler, filter LogFilterFunc) http.Handler
- func WithRecover(handler http.Handler) http.Handler
- type HumanMemStats
- type LogFilterFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MemStatHandler ¶ added in v0.17.4
func MemStatHandler(w http.ResponseWriter, r *http.Request)
func WithLogger ¶
Types ¶
type HumanMemStats ¶ added in v0.17.4
Click to show internal directories.
Click to hide internal directories.