You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

42 lines
459 B

package main
type Routes []Route
var routes = Routes{
Route{
"Index",
"GET",
"/",
Index,
},
Route{
"GetServer",
"GET",
"/getserver",
GetServer,
},
Route{
"GetIDs",
"GET",
"/ids",
GetIDs,
},
Route{
"GetNewID",
"GET",
"/newid",
GetNewID,
},
Route{
"GetBlindAndSendToSign",
"GET",
"/blindandsendtosign/{idKey}",
GetBlindAndSendToSign,
},
Route{
"GetVerify",
"GET",
"/verify/{idKey}",
GetVerify,
},
}