mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-20 20:52:33 +02:00
14 lines
256 B
Go
14 lines
256 B
Go
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.Error)
|
|
}
|