tests (boilerplate)

This commit is contained in:
2022-11-23 20:21:49 +01:00
parent 1bc847cdc9
commit 8ea3fdcfef
10 changed files with 323 additions and 8 deletions

View File

@@ -53,6 +53,7 @@ func (r *Router) Init(e *gin.Engine) {
commonAPI.Any("/ping", ginresp.Wrap(r.commonHandler.Ping))
commonAPI.POST("/db-test", ginresp.Wrap(r.commonHandler.DatabaseTest))
commonAPI.GET("/health", ginresp.Wrap(r.commonHandler.Health))
commonAPI.POST("/sleep/:secs", ginresp.Wrap(r.commonHandler.Sleep))
}
// ================ Swagger ================