TODO: 修正inject background的框架设计.

This commit is contained in:
eson
2020-11-17 19:42:36 +08:00
parent c01e6b4717
commit 9ec4a86611
13 changed files with 221 additions and 64 deletions

View File

@@ -3,7 +3,7 @@ module git.nonolive.co/eson.hsm/proxyserver
go 1.15
require (
github.com/gin-gonic/gin v1.6.3 // indirect
github.com/gin-gonic/gin v1.6.3
github.com/go-playground/validator/v10 v10.4.1 // indirect
github.com/golang/protobuf v1.4.3 // indirect
github.com/json-iterator/go v1.1.10 // indirect

View File

@@ -2,7 +2,9 @@ package main
import "github.com/gin-gonic/gin"
var engine = gin.New()
func main() {
eg := gin.New()
eg.GET("/task/get")
engine.Run(":7123")
}