mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-11 22:30:47 +01:00
15 lines
251 B
Go
15 lines
251 B
Go
package watcher
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/yusing/godoxy/internal/watcher/events"
|
|
gperr "github.com/yusing/goutils/errs"
|
|
)
|
|
|
|
type Event = events.Event
|
|
|
|
type Watcher interface {
|
|
Events(ctx context.Context) (<-chan Event, <-chan gperr.Error)
|
|
}
|