算法重构完成

This commit is contained in:
Liujian
2023-03-29 17:50:13 +08:00
parent a211735c4e
commit 74d098dee9
27 changed files with 276 additions and 220 deletions

View File

@@ -3,10 +3,11 @@ package http_context
import (
"context"
"fmt"
"github.com/valyala/fasthttp"
"net"
"time"
"github.com/valyala/fasthttp"
"github.com/eolinker/eosc/utils/config"
fasthttp_client "github.com/eolinker/apinto/node/fasthttp-client"
@@ -58,14 +59,6 @@ func (ctx *cloneContext) LocalPort() int {
return ctx.org.LocalPort()
}
func (ctx *cloneContext) GetApp() eoscContext.EoApp {
return ctx.app
}
func (ctx *cloneContext) SetApp(app eoscContext.EoApp) {
ctx.app = app
}
func (ctx *cloneContext) GetBalance() eoscContext.BalanceHandler {
return ctx.balance
}