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.

36 lines
368 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. "IDs",
  12. "GET",
  13. "/ids",
  14. IDs,
  15. },
  16. Route{
  17. "NewID",
  18. "GET",
  19. "/newid",
  20. NewID,
  21. },
  22. Route{
  23. "BlindAndSendToSign",
  24. "GET",
  25. "/blindandsendtosign/{pubK}",
  26. BlindAndSendToSign,
  27. },
  28. Route{
  29. "Verify",
  30. "GET",
  31. "/verify/{pubK}",
  32. Verify,
  33. },
  34. }