import "github.com/dreadl0ck/netcap/utils"
func ClearLine()
ClearLine clears the current line of the terminal
func ClearScreen()
ClearScreen prints ANSI escape to flush screen
DumpProto prints a protobuf message formatted
GetBaseLayer resolves a baselayer string to the gopacket.LayerType
func GetDecodeOptions(value string) (o gopacket.DecodeOptions)
GetDecodeOptions resolves a decode option string to the gopacket.DecodeOptions type
func ListAllNetworkInterfaces()
ListAllNetworkInterfaces dumps a list of all visible network interfaces to stdout
Pad the input up to the given number of space characters
Progress display
StringToTime converts a seconds.micro string to a time.Time
TimeToString converts a time.Time to seconds.micro string
TimeToUTC returns a time string in netcap format to a UTC string
TrimFileExtension returns the netcap file name without file extension
Package utils imports 11 packages (graph) and is imported by 23 packages. Updated 2020-08-02. Refresh now. Tools for package owners.