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.
 
 
 

19 lines
303 B

package main
import (
"fmt"
"net/http"
)
func handlePurchase(w http.ResponseWriter, r *http.Request) {
challenge, err := generateChallenge(20)
if err != nil {
panic(err)
return
}
fmt.Fprintf(w, challenge)
}
func handleTxId(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "ack")
}