mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +00:00
17 lines
293 B
Go
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{}
|