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.

30 lines
293 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. "BlindAndVerify",
  24. "GET",
  25. "/blindandverify/{pubK}",
  26. BlindAndVerify,
  27. },
  28. }