refactor: add AuthTokenName to RoutableAPI

This commit is contained in:
Derrick Hammer 2024-03-17 08:53:56 -04:00
parent 5223a44790
commit 325a368dea
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

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