mysqlasm

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 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 Assembler

type Assembler struct {
	ServerPort uint16
	Warn       *log.Logger
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, f ConnFactory) *Assembler

func (*Assembler) Assemble

func (a *Assembler) Assemble(ctx context.Context, r io.Reader, dec gopacket.Decoder) error

type Conn

type Conn interface {
	ID() string
	Received(pa *parser.Parser, fromServer bool)
	Closed()
}

type ConnFactory

type ConnFactory func(client, server tcpasm.Endpoint) Conn

Jump to

Keyboard shortcuts

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