diff options
Diffstat (limited to 'internal/events/contract.go')
-rw-r--r-- | internal/events/contract.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/events/contract.go b/internal/events/contract.go index dc5003f..5bea6ac 100644 --- a/internal/events/contract.go +++ b/internal/events/contract.go @@ -1,11 +1,11 @@ package events -import "go.neonxp.dev/djson/internal/model" +import "go.neonxp.dev/djson/internal/command" type Dispatcher interface { - Subscribe(path []string, id string, ch chan model.Mutation) + Subscribe(path []string, id string, ch chan command.Mutation) Unsubscribe(path []string, id string) - Notify(path []string, event *model.Mutation) + Notify(path []string, event *command.Mutation) } |