visitors

package
v0.0.0-...-c344868 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSVVisitor

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

func NewCSVVisitor

func NewCSVVisitor(w io.Writer) *CSVVisitor

func (*CSVVisitor) Flush

func (v *CSVVisitor) Flush()

func (*CSVVisitor) VisitBigKey

func (v *CSVVisitor) VisitBigKey(key *doctor.BigKey) error

func (*CSVVisitor) VisitHotKey

func (v *CSVVisitor) VisitHotKey(key *doctor.HotKey) error

func (*CSVVisitor) VisitSlowLog

func (v *CSVVisitor) VisitSlowLog(log *doctor.SlowLog) error

type JSONVisitor

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

func NewJSONVisitor

func NewJSONVisitor(w io.Writer) *JSONVisitor

func (*JSONVisitor) VisitBigKey

func (v *JSONVisitor) VisitBigKey(key *doctor.BigKey) error

func (*JSONVisitor) VisitHotKey

func (v *JSONVisitor) VisitHotKey(key *doctor.HotKey) error

func (*JSONVisitor) VisitSlowLog

func (v *JSONVisitor) VisitSlowLog(log *doctor.SlowLog) error

type XMLVisitor

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

func NewXMLVisitor

func NewXMLVisitor(w io.Writer) *XMLVisitor

func (*XMLVisitor) Close

func (v *XMLVisitor) Close() error

func (*XMLVisitor) VisitBigKey

func (v *XMLVisitor) VisitBigKey(key *doctor.BigKey) error

func (*XMLVisitor) VisitHotKey

func (v *XMLVisitor) VisitHotKey(key *doctor.HotKey) error

func (*XMLVisitor) VisitSlowLog

func (v *XMLVisitor) VisitSlowLog(log *doctor.SlowLog) error

Jump to

Keyboard shortcuts

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