tracer

package
v0.0.0-...-40912f0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: BSD-3-Clause Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultManager = newManager()
View Source
var DefaultPublisher = &publisher{ch: make(chan []byte, 4096)}
View Source
var PayloadLimitBytes int64 = 4096 // bytes

Functions

This section is empty.

Types

type Manager

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

func (*Manager) Flush

func (m *Manager) Flush() error

func (*Manager) Insert

func (m *Manager) Insert(event string)

func (*Manager) SetLog

func (m *Manager) SetLog(log bool)

func (*Manager) StartBackgroundFlush

func (m *Manager) StartBackgroundFlush(ctx context.Context)

type Parser

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

func NewParser

func NewParser(global *global.Global, event *event.Event) *Parser

func (*Parser) Finish

func (p *Parser) Finish() error

func (*Parser) UseRequest

func (p *Parser) UseRequest(req *http.Request)

func (*Parser) UseResponse

func (p *Parser) UseResponse(resp *http.Response)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳