Matrix/utils/router/route.go

13 lines
168 B
Go
Raw Normal View History

2020-09-28 20:37:02 +00:00
package router
import "net/http"
type Route struct {
Name string
Method string
Pattern string
HandlerFunc http.HandlerFunc
}
type Routes []Route