Ver código fonte

添加接口

yjp 9 meses atrás
pai
commit
e69af67c83
1 arquivos alterados com 4 adições e 0 exclusões
  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
 }