Dada SDK for Golang
go get github.com/royromny/dada
import github.com/royromny/dada
go get github.com/royromny/dada
import github.com/royromny/dada
- master - 和主要维护分支同步;
http.HandleFunc("/dada", func(rep http.ResponseWriter, req *http.Request) {
var notify, _ = client.GetOrderNotification(req)
if notify != nil {
fmt.Println("订单状态为:", notify.OrderStatus)
}
dada.AckNotification(rep) // 确认收到通知消息
})
This project is licensed under the MIT License.