DPF/main.go

17 lines
186 B
Go
Raw Normal View History

2019-11-01 13:47:11 +00:00
package main
import (
"log"
"github.com/gin-gonic/gin"
)
func main() {
engine := gin.Default()
engine.GET("/status")
engine.POST("/operate")
log.Fatal(engine.Run(":15678"))
}