Improve monitor api

This commit is contained in:
世界 2022-08-04 21:06:56 +08:00
parent 2a1554dfd3
commit 7ee0d19103
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
8 changed files with 110 additions and 192 deletions

View file

@ -12,6 +12,6 @@ func NewNetworkUpdateMonitor(errorHandler E.Handler) (NetworkUpdateMonitor, erro
return nil, os.ErrInvalid
}
func NewDefaultInterfaceMonitor(networkMonitor NetworkUpdateMonitor, callback DefaultInterfaceUpdateCallback) (DefaultInterfaceMonitor, error) {
func NewDefaultInterfaceMonitor(networkMonitor NetworkUpdateMonitor) (DefaultInterfaceMonitor, error) {
return nil, os.ErrInvalid
}