Skip to content

Commit

Permalink
Get rid of l4_proxy package
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelewski committed Jan 21, 2025
1 parent 6dd46d1 commit 9940fc5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion quesma/proxy/l4_proxy.go → quesma/quesma/l4_proxy.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright Quesma, licensed under the Elastic License 2.0.
// SPDX-License-Identifier: Elastic-2.0
package proxy
package quesma

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright Quesma, licensed under the Elastic License 2.0.
// SPDX-License-Identifier: Elastic-2.0
package proxy
package quesma

import (
"bytes"
Expand Down
3 changes: 1 addition & 2 deletions quesma/quesma/quesma.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"github.com/QuesmaOrg/quesma/quesma/elasticsearch"
"github.com/QuesmaOrg/quesma/quesma/ingest"
"github.com/QuesmaOrg/quesma/quesma/logger"
"github.com/QuesmaOrg/quesma/quesma/proxy"
"github.com/QuesmaOrg/quesma/quesma/quesma/config"
"github.com/QuesmaOrg/quesma/quesma/quesma/recovery"
"github.com/QuesmaOrg/quesma/quesma/quesma/ui"
Expand Down Expand Up @@ -48,7 +47,7 @@ func (q *Quesma) Start() {

func NewQuesmaTcpProxy(config *config.QuesmaConfiguration, quesmaManagementConsole *ui.QuesmaManagementConsole, logChan <-chan logger.LogWithLevel, inspect bool) *Quesma {
return &Quesma{
processor: proxy.NewTcpProxy(config.PublicTcpPort, config.Elasticsearch.Url.Host, inspect),
processor: NewTcpProxy(config.PublicTcpPort, config.Elasticsearch.Url.Host, inspect),
publicTcpPort: config.PublicTcpPort,
quesmaManagementConsole: quesmaManagementConsole,
config: config,
Expand Down

0 comments on commit 9940fc5

Please sign in to comment.