refactor: add Domain method to RoutableAPI

This commit is contained in:
Derrick Hammer 2024-03-17 08:51:23 -04:00
parent 3dfdd2d2f4
commit 33e644f5c7
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ import (
type RoutableAPI interface {
Name() string
Domain() string
Can(w http.ResponseWriter, r *http.Request) bool
Handle(w http.ResponseWriter, r *http.Request)
Routes() (*httprouter.Router, error)