capture

package
v1.3.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

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, pgslowlogPath 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