| Stephane Barbarie | 3559506 | 2018-02-08 08:34:39 -0500 | [diff] [blame] | 1 | package core |
| 2 | |||||
| 3 | import ( | ||||
| 4 | "context" | ||||
| 5 | "github.com/google/gopacket" | ||||
| 6 | ) | ||||
| 7 | |||||
| 8 | type PonSimInterface interface { | ||||
| 9 | Start(context.Context) | ||||
| 10 | |||||
| 11 | Stop(context.Context) | ||||
| 12 | |||||
| 13 | GetAddress() string | ||||
| 14 | |||||
| 15 | GetPort() int32 | ||||
| 16 | |||||
| 17 | Forward(context.Context, int, gopacket.Packet) error | ||||
| 18 | } | ||||