diff options
author | NeonXP <i@neonxp.dev> | 2023-01-04 18:44:58 +0300 |
---|---|---|
committer | NeonXP <i@neonxp.dev> | 2023-01-04 18:44:58 +0300 |
commit | 8716ac3e650075525cab7fb5caf1aa62b3efe55b (patch) | |
tree | f34dcb33400ef6bfd7f01b55a04f59784505c506 /internal/events/contract.go | |
parent | e91712e388c530dd5bdfb46f028157a62a60b1e3 (diff) |
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) } |