fix: remove unneeded HTTPRouter method
This commit is contained in:
parent
7261b35f94
commit
fe11954e1d
|
@ -15,7 +15,6 @@ import (
|
||||||
"git.lumeweb.com/LumeWeb/libs5-go/types"
|
"git.lumeweb.com/LumeWeb/libs5-go/types"
|
||||||
"git.lumeweb.com/LumeWeb/libs5-go/utils"
|
"git.lumeweb.com/LumeWeb/libs5-go/utils"
|
||||||
"github.com/go-resty/resty/v2"
|
"github.com/go-resty/resty/v2"
|
||||||
"github.com/julienschmidt/httprouter"
|
|
||||||
"github.com/vmihailenco/msgpack/v5"
|
"github.com/vmihailenco/msgpack/v5"
|
||||||
bolt "go.etcd.io/bbolt"
|
bolt "go.etcd.io/bbolt"
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
|
@ -334,7 +333,3 @@ func (n *NodeImpl) WaitOnConnectedPeers() {
|
||||||
func (n *NodeImpl) ConnectionTracker() *sync.WaitGroup {
|
func (n *NodeImpl) ConnectionTracker() *sync.WaitGroup {
|
||||||
return &n.connections
|
return &n.connections
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n *NodeImpl) HTTPRouter() *httprouter.Router {
|
|
||||||
return n.services.HTTP().GetHttpRouter()
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue