Documentation ¶
Overview ¶
Package devices contains functions for gathering devices that can replay a capture.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForReplay ¶
func ForReplay(ctx context.Context, p *path.Capture) ([]*path.Device, []bool, []*stringtable.Msg, error)
ForReplay returns three lists of the same size, at each index:
- path.Device references a device
- a bool indicates if that device is compatible (can replay) the capture
- a stringtable.Msg gives the reason for a device to not be compatible
These lists are sorted such that compatible devices are returned at the front of the list, in the preferred device order.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.