Matrix/utils/router/route.go
2020-09-28 22:37:02 +02:00

12 lines
168 B
Go

package router
import "net/http"
type Route struct {
Name string
Method string
Pattern string
HandlerFunc http.HandlerFunc
}
type Routes []Route