浏览代码

添加接口

yjp 9 月之前
父节点
当前提交
e69af67c83
共有 1 个文件被更改,包括 4 次插入0 次删除
  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
 }