diff options
Diffstat (limited to 'internal/handler/contract.go')
-rw-r--r-- | internal/handler/contract.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/internal/handler/contract.go b/internal/handler/contract.go new file mode 100644 index 0000000..ed79158 --- /dev/null +++ b/internal/handler/contract.go @@ -0,0 +1,12 @@ +package handler + +import ( + "net/http" + + "github.com/go-chi/chi/v5" +) + +type Handler interface { + Handle(r chi.Router) + Hearthbeat(w http.ResponseWriter, r *http.Request) +} |