add build-repo
This commit is contained in:
parent
b1c3894eef
commit
a17ad4a242
2
aux/build-repo.sh
Executable file
2
aux/build-repo.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
sh -x
|
||||||
|
docker build -f aux/Dockerfile-release -t yedf/dtm:lastest .
|
||||||
@ -12,7 +12,6 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func addRoute(engine *gin.Engine) {
|
func addRoute(engine *gin.Engine) {
|
||||||
engine.GET("/api/ping", common.WrapHandler(func(c *gin.Context) (interface{}, error) { return "OK", nil }))
|
|
||||||
engine.POST("/api/dtmsvr/prepare", common.WrapHandler(prepare))
|
engine.POST("/api/dtmsvr/prepare", common.WrapHandler(prepare))
|
||||||
engine.POST("/api/dtmsvr/submit", common.WrapHandler(submit))
|
engine.POST("/api/dtmsvr/submit", common.WrapHandler(submit))
|
||||||
engine.POST("/api/dtmsvr/registerXaBranch", common.WrapHandler(registerXaBranch))
|
engine.POST("/api/dtmsvr/registerXaBranch", common.WrapHandler(registerXaBranch))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user