Files
gocryptotrader/restful_routes.go
2017-07-31 11:44:54 +10:00

17 lines
293 B
Go

package main
import "net/http"
// Route is a sub type that holds the request routes
type Route struct {
Name string
Method string
Pattern string
HandlerFunc http.HandlerFunc
}
// Routes is an array of all the registered routes
type Routes []Route
var routes = Routes{}