mysql

package
v0.23.9 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dumper

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

Dumper struct

func NewDumper

func NewDumper() *Dumper

NewDumper returns a Dumper

func (*Dumper) Dump

func (m *Dumper) Dump(in []byte, direction dumper.Direction, connMetadata *dumper.ConnMetadata, additional []dumper.DumpValue) error

Dump query of MySQL

func (*Dumper) Log

func (m *Dumper) Log(values []dumper.DumpValue)

Log values

func (*Dumper) Name

func (m *Dumper) Name() string

Name return dumper name

func (*Dumper) NewConnMetadata

func (m *Dumper) NewConnMetadata() *dumper.ConnMetadata

NewConnMetadata return metadata per TCP connection

func (*Dumper) Read

func (m *Dumper) Read(in []byte, direction dumper.Direction, connMetadata *dumper.ConnMetadata) ([]dumper.DumpValue, error)

Read return byte to analyzed string

Jump to

Keyboard shortcuts

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