mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-29 05:11:51 +02:00
preparing for v0.5
This commit is contained in:
11
src/watcher/watcher.go
Normal file
11
src/watcher/watcher.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package watcher
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
E "github.com/yusing/go-proxy/error"
|
||||
)
|
||||
|
||||
type Watcher interface {
|
||||
Events(ctx context.Context) (<-chan Event, <-chan E.NestedError)
|
||||
}
|
||||
Reference in New Issue
Block a user