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
433 B

  1. package main
  2. type Routes []Route
  3. var routes = Routes{
  4. Route{
  5. "Index",
  6. "GET",
  7. "/",
  8. Index,
  9. },
  10. Route{
  11. "GetServer",
  12. "GET",
  13. "/getserver",
  14. GetServer,
  15. },
  16. Route{
  17. "IDs",
  18. "GET",
  19. "/ids",
  20. IDs,
  21. },
  22. Route{
  23. "NewID",
  24. "GET",
  25. "/newid",
  26. NewID,
  27. },
  28. Route{
  29. "BlindAndSendToSign",
  30. "GET",
  31. "/blindandsendtosign/{pubK}",
  32. BlindAndSendToSign,
  33. },
  34. Route{
  35. "Verify",
  36. "GET",
  37. "/verify/{pubK}",
  38. Verify,
  39. },
  40. }