summaryrefslogtreecommitdiff
path: root/internal/handler/contract.go
diff options
context:
space:
mode:
authorNeonXP <i@neonxp.dev>2022-12-09 03:36:06 +0300
committerNeonXP <i@neonxp.dev>2022-12-09 03:36:06 +0300
commit2055e57de00865607223401a890125909080f4a3 (patch)
tree73a74ec3370f7211601302bd77bada10b75ff665 /internal/handler/contract.go
parent9d46ca252151a2c48434f9ec201bcb3c9133ec78 (diff)
events added
Diffstat (limited to 'internal/handler/contract.go')
-rw-r--r--internal/handler/contract.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/handler/contract.go b/internal/handler/contract.go
index ed79158..8887be8 100644
--- a/internal/handler/contract.go
+++ b/internal/handler/contract.go
@@ -7,6 +7,7 @@ import (
)
type Handler interface {
- Handle(r chi.Router)
+ HandleCRUD(r chi.Router)
+ HandleEvents(r chi.Router)
Hearthbeat(w http.ResponseWriter, r *http.Request)
}