capture

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypePprof   = "pprof"
	TypeHTTPLog = "httplog"
	TypeSlowLog = "slowlog"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(httplogPath, slowlogPath string) *Handler

func (*Handler) Start

func (h *Handler) Start(w http.ResponseWriter, r *http.Request)

func (*Handler) Stop

func (h *Handler) Stop(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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