Versions in this module Expand all Collapse all v0 v0.2.0 Nov 23, 2024 Changes in this version + func Enable(opts SystatusOptions) + func HandleMem(opts MemHandlerOpts) func(w http.ResponseWriter, r *http.Request) + type CPUHandlerOpts struct + Middlewares []func(next http.HandlerFunc) http.HandlerFunc + type CPUResponse struct + type DiskHandlerOpts struct + Middlewares []func(next http.HandlerFunc) http.HandlerFunc + type DiskResponse struct + type EnvHandlerOpts struct + Middlewares []func(next http.HandlerFunc) http.HandlerFunc + SensitiveKeys []string + type EnvResponse struct + Env map[string]string + type HealthHandlerOpts struct + Healthcheck func(w http.ResponseWriter, r *http.Request) + Middlewares []func(next http.HandlerFunc) http.HandlerFunc + type HealthResponse struct + Status string + type MemHandlerOpts struct + Middlewares []func(next http.HandlerFunc) http.HandlerFunc + type MemResponse struct + Alloc uint64 + Sys uint64 + TotalAlloc uint64 + type SystatusOptions struct + CPUHandlerOpts CPUHandlerOpts + DiskHandlerOpts DiskHandlerOpts + EnvHandlerOpts EnvHandlerOpts + ExposeEnv bool + HealthHandlerOpts HealthHandlerOpts + MemHandlerOpts MemHandlerOpts + Mux *http.ServeMux + Prefix string + PrettyLogger bool + UptimeHandlerOpts UptimeHandlerOpts + type UptimeHandlerOpts struct + Middlewares []func(next http.HandlerFunc) http.HandlerFunc + type UptimeResponse struct + Systime string + Uptime string