Versions in this module Expand all Collapse all v0 v0.1.0 Apr 10, 2024 Changes in this version + const EnvVariable + var GlobalWatcher = Watcher + var LogEvent = true + var LogItems = true + func GenerateEventGraphviz(out io.Writer, traffics ...*Traffic) + func GenerateItemsGraphviz(out io.Writer, withSend, withRcv bool, traffics ...*Traffic) + func SaveEvents(path string) error + func SaveItems(path string, withSend, withRcv bool) error + type Event struct + Address mino.Address + Pkt router.Packet + type Traffic struct + func NewTraffic(src mino.Address, out io.Writer) *Traffic + func (t *Traffic) Display(out io.Writer) + func (t *Traffic) LogRecv(ctx context.Context, gateway mino.Address, pkt router.Packet) + func (t *Traffic) LogRelay(to mino.Address) + func (t *Traffic) LogRelayClosed(to mino.Address) + func (t *Traffic) LogSend(ctx context.Context, gateway mino.Address, pkt router.Packet) + func (t *Traffic) Save(path string, withSend, withRcv bool) error + type Watcher struct + func (w *Watcher) WatchIns(ctx context.Context) <-chan Event + func (w *Watcher) WatchOuts(ctx context.Context) <-chan Event v0.0.1-alpha Mar 30, 2024