refactor: add AuthTokenName to RoutableAPI
This commit is contained in:
parent
5223a44790
commit
325a368dea
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue