mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-27 02:38:33 +02:00
fixing idlewatcher
This commit is contained in:
@@ -9,7 +9,6 @@ import (
|
||||
E "github.com/yusing/go-proxy/error"
|
||||
R "github.com/yusing/go-proxy/route"
|
||||
W "github.com/yusing/go-proxy/watcher"
|
||||
. "github.com/yusing/go-proxy/watcher/event"
|
||||
)
|
||||
|
||||
type (
|
||||
@@ -29,7 +28,7 @@ type (
|
||||
ProviderImpl interface {
|
||||
NewWatcher() W.Watcher
|
||||
LoadRoutesImpl() (R.Routes, E.NestedError)
|
||||
OnEvent(event Event, routes R.Routes) EventResult
|
||||
OnEvent(event W.Event, routes R.Routes) EventResult
|
||||
}
|
||||
ProviderType string
|
||||
EventResult struct {
|
||||
|
||||
Reference in New Issue
Block a user