Documentation
¶
Index ¶
- func ClearLine()
- func ClearScreen()
- func DumpProto(pb proto.Message)
- func GetBaseLayer(value string) (t gopacket.LayerType)
- func GetDecodeOptions(value string) (o gopacket.DecodeOptions)
- func ListAllNetworkInterfaces()
- func Pad(in interface{}, length int) string
- func Progress(current, total int64) string
- func StringToTime(val string) time.Time
- func TimeToString(t time.Time) string
- func TimeToUTC(val string) string
- func TrimFileExtension(file string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBaseLayer ¶ added in v0.3.9
GetBaseLayer resolves a baselayer string to the gopacket.LayerType
func GetDecodeOptions ¶ added in v0.3.9
func GetDecodeOptions(value string) (o gopacket.DecodeOptions)
GetDecodeOptions resolves a decode option string to the gopacket.DecodeOptions type
func ListAllNetworkInterfaces ¶ added in v0.4.4
func ListAllNetworkInterfaces()
ListAllNetworkInterfaces dumps a list of all visible network interfaces to stdout
func StringToTime ¶
StringToTime converts a seconds.micro string to a time.Time
func TimeToString ¶
TimeToString converts a time.Time to seconds.micro string
func TrimFileExtension ¶
TrimFileExtension returns the netcap file name without file extension
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.