mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-19 15:01:22 +02:00
v0.26.0
This commit is contained in:
@@ -3,12 +3,11 @@ package watcher
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/yusing/godoxy/internal/watcher/events"
|
||||
gperr "github.com/yusing/goutils/errs"
|
||||
watcherEvents "github.com/yusing/godoxy/internal/watcher/events"
|
||||
)
|
||||
|
||||
type Event = events.Event
|
||||
type Event = watcherEvents.Event
|
||||
|
||||
type Watcher interface {
|
||||
Events(ctx context.Context) (<-chan Event, <-chan gperr.Error)
|
||||
Events(ctx context.Context) (<-chan Event, <-chan error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user