payment gateway for rpn cn
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

24 lines
576B

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