Skip to content
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehsan N. Moosa committed Apr 22, 2021
1 parent e5a1513 commit faff65d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions edge/edge.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
tcpGateway "github.com/ronaksoft/rony/internal/gateway/tcp"
"github.com/ronaksoft/rony/internal/log"
"github.com/ronaksoft/rony/internal/metrics"
"github.com/ronaksoft/rony/internal/rest"
"github.com/ronaksoft/rony/internal/tunnel"
"github.com/ronaksoft/rony/pools"
"github.com/ronaksoft/rony/registry"
"github.com/ronaksoft/rony/rest"
"github.com/ronaksoft/rony/store"
"github.com/ronaksoft/rony/tools"
"go.uber.org/zap"
Expand Down Expand Up @@ -607,11 +607,3 @@ func (edge *Server) sendRemoteCommand(target cluster.Member, req, res *rony.Mess
tmIn.Envelope.DeepCopy(res)
return nil
}


func NewRestFactory(
onRequest func(ctx *rest.Context),
onResponse func(envelope *rony.MessageEnvelope) (*pools.ByteBuffer, map[string]string),
) *rest.Factory {
return rest.NewFactory(onRequest, onResponse)
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit faff65d

Please sign in to comment.