| 1 | package events_streamscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/modules/events_stream`/ |
| 2 | |
| 3 | import ( |
| 4 | "fmtscip-go gomod github.com/golang/go/src go1.16 fmt/" |
| 5 | "ioscip-go gomod github.com/golang/go/src go1.16 io/" |
| 6 | |
| 7 | "github.com/bettercap/bettercap/sessionscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/" |
| 8 | |
| 9 | "github.com/evilsocket/islazy/tuiscip-go gomod github.com/evilsocket/islazy v1.11.0 `github.com/evilsocket/islazy/tui`/" |
| 10 | ) |
| 11 | |
| 12 | func (mod *EventsStreamscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/modules/events_stream`/EventsStream#) viewGatewayEventscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/modules/events_stream`/EventsStream#viewGatewayEvent().(output ioscip-go gomod github.com/golang/go/src go1.16 io/.Writerscip-go gomod github.com/golang/go/src go1.16 io/Writer#, e sessionscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/.Eventscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/Event#) { |
| 13 | change := e.Datascip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/Event#Data..(sessionscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/.GatewayChangescip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/GatewayChange#) |
| 14 | |
| 15 | fmtscip-go gomod github.com/golang/go/src go1.16 fmt/.Fprintfscip-go gomod github.com/golang/go/src go1.16 fmt/Fprintf().(output, "[%s] [%s] %s gateway changed: '%s' (%s) -> '%s' (%s)\n", |
| 16 | e.Timescip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/Event#Time..Formatscip-go gomod github.com/golang/go/src go1.16 time/Time#Format().(mod.timeFormatscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/modules/events_stream`/EventsStream#timeFormat.), |
| 17 | tuiscip-go gomod github.com/evilsocket/islazy v1.11.0 `github.com/evilsocket/islazy/tui`/.Redscip-go gomod github.com/evilsocket/islazy v1.11.0 `github.com/evilsocket/islazy/tui`/Red().(e.Tagscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/Event#Tag.), |
| 18 | string(change.Typescip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/GatewayChange#Type.), |
| 19 | change.Prevscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/GatewayChange#Prev..IPscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/gateway#IP., |
| 20 | change.Prevscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/GatewayChange#Prev..MACscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/gateway#MAC., |
| 21 | change.Newscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/GatewayChange#New..IPscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/gateway#IP., |
| 22 | change.Newscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/GatewayChange#New..MACscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/gateway#MAC.) |
| 23 | } |