debug

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dump added in v1.3.2

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 added in v1.3.2

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