payment gateway for rpn cn
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

main.go 576B

il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
1234567891011121314151617181920212223
  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. }