Add DefaultInterfaceMonitor.MyInterface
This commit is contained in:
parent
2121bc3f01
commit
f57754918d
5 changed files with 19 additions and 2 deletions
|
|
@ -30,6 +30,8 @@ type DefaultInterfaceMonitor interface {
|
|||
AndroidVPNEnabled() bool
|
||||
RegisterCallback(callback DefaultInterfaceUpdateCallback) *list.Element[DefaultInterfaceUpdateCallback]
|
||||
UnregisterCallback(element *list.Element[DefaultInterfaceUpdateCallback])
|
||||
RegisterMyInterface(interfaceName string)
|
||||
MyInterface() string
|
||||
}
|
||||
|
||||
type DefaultInterfaceMonitorOptions struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue