mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 08:48:32 +02:00
restructured the project to comply community guideline, for others check release note
This commit is contained in:
14
internal/watcher/watcher.go
Normal file
14
internal/watcher/watcher.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package watcher
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
E "github.com/yusing/go-proxy/internal/error"
|
||||
"github.com/yusing/go-proxy/internal/watcher/events"
|
||||
)
|
||||
|
||||
type Event = events.Event
|
||||
|
||||
type Watcher interface {
|
||||
Events(ctx context.Context) (<-chan Event, <-chan E.NestedError)
|
||||
}
|
||||
Reference in New Issue
Block a user