Documentation ¶
Index ¶
- type Direction
- type DumpValue
- type DumpValues
- type Dumper
- type HexDumper
- func (h *HexDumper) Dump(in []byte, direction Direction, persistent *DumpValues, additional []DumpValue) error
- func (h *HexDumper) Log(values []DumpValue)
- func (h *HexDumper) Name() string
- func (h *HexDumper) Read(in []byte) []DumpValue
- func (h *HexDumper) ReadPersistentValues(in []byte) []DumpValue
- type MysqlDumper
- func (m *MysqlDumper) Dump(in []byte, direction Direction, persistent *DumpValues, additional []DumpValue) error
- func (m *MysqlDumper) Log(values []DumpValue)
- func (m *MysqlDumper) Name() string
- func (m *MysqlDumper) Read(in []byte) []DumpValue
- func (m *MysqlDumper) ReadPersistentValues(in []byte) []DumpValue
- type PgDumper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dumper ¶
type Dumper interface { Name() string Dump(in []byte, direction Direction, persistent *DumpValues, additional []DumpValue) error Read(in []byte) []DumpValue ReadPersistentValues(in []byte) []DumpValue Log(values []DumpValue) }
Dumper interface
type HexDumper ¶
type HexDumper struct {
// contains filtered or unexported fields
}
HexDumper ...
func (*HexDumper) Dump ¶
func (h *HexDumper) Dump(in []byte, direction Direction, persistent *DumpValues, additional []DumpValue) error
Dump TCP
func (*HexDumper) ReadPersistentValues ¶ added in v0.4.0
ReadPersistentValues return persistent value each session
type MysqlDumper ¶
type MysqlDumper struct {
// contains filtered or unexported fields
}
MysqlDumper struct
func (*MysqlDumper) Dump ¶
func (m *MysqlDumper) Dump(in []byte, direction Direction, persistent *DumpValues, additional []DumpValue) error
Dump query of MySQL
func (*MysqlDumper) Name ¶ added in v0.4.0
func (m *MysqlDumper) Name() string
Name return dumper name
func (*MysqlDumper) Read ¶ added in v0.4.0
func (m *MysqlDumper) Read(in []byte) []DumpValue
Read return byte to analyzed string
func (*MysqlDumper) ReadPersistentValues ¶ added in v0.4.0
func (m *MysqlDumper) ReadPersistentValues(in []byte) []DumpValue
ReadPersistentValues return persistent value each session
type PgDumper ¶
type PgDumper struct {
// contains filtered or unexported fields
}
PgDumper struct
func (*PgDumper) Dump ¶
func (p *PgDumper) Dump(in []byte, direction Direction, persistent *DumpValues, additional []DumpValue) error
Dump query of PostgreSQL
func (*PgDumper) ReadPersistentValues ¶ added in v0.4.0
ReadPersistentValues return persistent value each session
Click to show internal directories.
Click to hide internal directories.