1
0
mirror of https://github.com/volatiletech/authboss.git synced 2025-01-10 04:17:59 +02:00
authboss/router.go

15 lines
277 B
Go
Raw Normal View History

package authboss
import (
"net/http"
)
// Router can register routes to later be used by the web application
type Router interface {
http.Handler
2018-03-10 02:02:35 +02:00
Get(path string, handler http.Handler)
Post(path string, handler http.Handler)
Delete(path string, handler http.Handler)
}