package
0.0.0-20231101140959-91e8f3645c54
Repository: https://github.com/secode/stenographer.git
Documentation: pkg.go.dev
# Functions
ConcatPacketChans concatenates packet chans in order.
ContextDone returns true if a context is complete.
LimitFromHeaders returns a Limit based on HTTP headers.
MergePacketChans merges an incoming set of packet chans, each sorted by time, returning a new single packet chan that's also sorted by time.
WrapContext wraps a context.Context in our type of Context.
NewPacketChan returns a new PacketChan channel for passing packets around.
PacketsToFile writes all packets from 'in' to 'out', writing out all packets in a valid PCAP file format.
No description provided by the author
V provides verbose logging which can be turned on/off with the -v flag.
Watchdog returns a time.Timer which log.Fatals if it goes off.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Limit is the amount of data we want to return, or the amount taken by a single upload.
Packet is a single packet with its metadata.
PacketChan provides an async method for passing multiple ordered packets between goroutines.
# Interfaces
Context wraps a context.Context with its cancel function.
# Type aliases
Positions detail the offsets of packets within a blockfile.