admin

package
v0.9.12-beta.3 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package admin is baseplate boilerplate for common internal admin features.

Index

Constants

View Source
const Addr = ":6060"

Variables

Mux is the default ServeMux to be used for admin servers in packages like httpbp, thriftbp, etc. Mux configures the following routes:

metrics       - serve /metrics for prometheus
profiling     - serve /debug/pprof for profiling, ref: https://pkg.go.dev/net/http/pprof

Functions

func Serve

func Serve() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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