payment gateway for rpn cn
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

23 lines
553B

  1. package main
  2. import (
  3. "log"
  4. "net/http"
  5. )
  6. func main() {
  7. readConfig()
  8. http.HandleFunc("/", StartPay)
  9. http.HandleFunc("/choosePayment", choosePayment)
  10. http.HandleFunc("/rpnNameAndCard", rpnNameAndCard)
  11. // http.HandleFunc("/", Index)
  12. // http.HandleFunc("/show", Show)
  13. // http.HandleFunc("/new", New)
  14. // http.HandleFunc("/edit", Edit)
  15. // http.HandleFunc("/insert", Insert)
  16. // http.HandleFunc("/update", Update)
  17. // http.HandleFunc("/delete", Delete)
  18. http.ListenAndServe(":8080", nil)
  19. log.Println("Server started on: http://localhost:8080")
  20. }