debug

package
v2.0.13 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: MIT Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dump

func Dump(path string, rwc io.ReadWriteCloser) io.ReadWriteCloser

Dump decodes every packet that passes through it and logs it TODO: add timestmaps to individual packets TODO: maybe make it one file - something like pcap would be rat but it's also quite the beast

func Wrap

Wrap decodes every packet that passes through it and logs it

func WrapConn

func WrapConn(l log.Logger, conn net.Conn) net.Conn

func WrapDump

func WrapDump(path string, c net.Conn) (net.Conn, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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