Browse Source

添加接口

yjp 9 months ago
parent
commit
e69af67c83
1 changed files with 4 additions and 0 deletions
  1. 4 0
      http_binding/http_init.go

+ 4 - 0
http_binding/http_init.go

@@ -48,6 +48,10 @@ func Destroy() {
 	}
 }
 
+func GetServer() *http.Server {
+	return serverInstance
+}
+
 func GetRouter() *gin.Engine {
 	return routerInstance
 }