Documentation ¶
Index ¶
- func Dump(p *portal.Portal, logger log.Logger) http.HandlerFunc
- func InstrumentWithCounter(handlerName string, handler http.Handler) http.HandlerFunc
- func InstrumentWithSummaries(handler http.Handler) http.HandlerFunc
- func ParseBodyAddress(r *request.Root) (a netip.Addr, err error)
- func ParseHeaderAddress(r *http.Request) string
- func ParseRemoteAddress(r *http.Request) string
- func ParseUserInfo(r *http.Request) *url.Userinfo
- func Push(p *portal.Portal, logger log.Logger) http.HandlerFunc
- func RegisterMetrics(reg prometheus.Registerer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstrumentWithCounter ¶
func InstrumentWithCounter(handlerName string, handler http.Handler) http.HandlerFunc
func InstrumentWithSummaries ¶
func InstrumentWithSummaries(handler http.Handler) http.HandlerFunc
func ParseHeaderAddress ¶
func ParseRemoteAddress ¶
func RegisterMetrics ¶
func RegisterMetrics(reg prometheus.Registerer) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.