mirror of
https://github.com/volatiletech/authboss.git
synced 2024-11-28 08:58:38 +02:00
15 lines
277 B
Go
15 lines
277 B
Go
package authboss
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
// Router can register routes to later be used by the web application
|
|
type Router interface {
|
|
http.Handler
|
|
|
|
Get(path string, handler http.Handler)
|
|
Post(path string, handler http.Handler)
|
|
Delete(path string, handler http.Handler)
|
|
}
|