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
352 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. "Signup",
  12. "POST",
  13. "/signup",
  14. Signup,
  15. },
  16. Route{
  17. "Login",
  18. "POST",
  19. "/login",
  20. Login,
  21. },
  22. Route{
  23. "BlindSign",
  24. "POST",
  25. "/blindsign",
  26. BlindSign,
  27. },
  28. Route{
  29. "VerifySign",
  30. "POST",
  31. "/verifysign",
  32. VerifySign,
  33. },
  34. }