mirror of
https://github.com/mainflux/mainflux.git
synced 2025-04-24 13:48:49 +08:00

* update WS service to mproxy Signed-off-by: SammyOina <sammyoina@gmail.com> * Fix brokerstracing initialization in main.go The commit fixes the initialization of the brokerstracing package in the main.go file. The target server configuration is now correctly passed to the NewPubSub function, ensuring that the correct host and port are used for the PubSub service. This resolves an issue where the wrong server configuration was being used, leading to incorrect behavior. Signed-off-by: SammyOina <sammyoina@gmail.com> * Fix goroutine issue in main.go The commit fixes a goroutine issue in the main.go file. Previously, the `hs.Start()` function was not being executed in a goroutine, which caused the program to block. This commit wraps the `hs.Start()` function call in a goroutine to ensure it runs concurrently. This resolves the issue and allows the program to continue execution without blocking. Signed-off-by: SammyOina <sammyoina@gmail.com> * update to current mproxy Signed-off-by: SammyOina <sammyoina@gmail.com> * update dependencies Signed-off-by: SammyOina <sammyoina@gmail.com> * Fix targetWSHost value in proxyWS function The targetWSHost value in the proxyWS function was empty. This commit fixes the issue by setting the targetWSHost value to "localhost". Additionally, the target variable in the proxyWS function is updated to include the "ws://" protocol prefix. Signed-off-by: SammyOina <sammyoina@gmail.com> * update deps Signed-off-by: SammyOina <sammyoina@gmail.com> * remove authorize from unsubscribe Signed-off-by: SammyOina <sammyoina@gmail.com> --------- Signed-off-by: SammyOina <sammyoina@gmail.com>
233 lines
11 KiB
Modula-2
233 lines
11 KiB
Modula-2
module github.com/mainflux/mainflux
|
|
|
|
go 1.21
|
|
|
|
require (
|
|
github.com/0x6flab/namegenerator v1.1.0
|
|
github.com/authzed/authzed-go v0.10.0
|
|
github.com/authzed/grpcutil v0.0.0-20230908193239-4286bb1d6403
|
|
github.com/caarlos0/env/v7 v7.1.0
|
|
github.com/cenkalti/backoff/v4 v4.2.1
|
|
github.com/docker/docker v24.0.6+incompatible
|
|
github.com/eclipse/paho.mqtt.golang v1.4.3
|
|
github.com/fatih/color v1.15.0
|
|
github.com/fiorix/go-smpp v0.0.0-20210403173735-2894b96e70ba
|
|
github.com/go-chi/chi/v5 v5.0.10
|
|
github.com/go-kit/kit v0.13.0
|
|
github.com/go-kit/log v0.2.1
|
|
github.com/go-redis/redis/v8 v8.11.5
|
|
github.com/go-zoo/bone v1.3.0
|
|
github.com/gocql/gocql v1.6.0
|
|
github.com/gofrs/uuid v4.4.0+incompatible
|
|
github.com/gookit/color v1.5.4
|
|
github.com/gopcua/opcua v0.1.6
|
|
github.com/gorilla/websocket v1.5.0
|
|
github.com/hashicorp/vault/api v1.10.0
|
|
github.com/hokaccha/go-prettyjson v0.0.0-20211117102719-0474bc63780f
|
|
github.com/influxdata/influxdb-client-go/v2 v2.12.3
|
|
github.com/ivanpirog/coloredcobra v1.0.1
|
|
github.com/jackc/pgerrcode v0.0.0-20220416144525-469b46aa5efa
|
|
github.com/jackc/pgtype v1.14.0
|
|
github.com/jackc/pgx/v5 v5.4.3
|
|
github.com/jmoiron/sqlx v1.3.5
|
|
github.com/lestrrat-go/jwx/v2 v2.0.13
|
|
github.com/mainflux/callhome v0.0.0-20230920140432-33c5663382ce
|
|
github.com/mainflux/mproxy v0.3.1-0.20231022160500-0e0db9e1642c
|
|
github.com/mainflux/senml v1.5.0
|
|
github.com/mitchellh/mapstructure v1.5.0
|
|
github.com/nats-io/nats.go v1.30.2
|
|
github.com/oklog/ulid/v2 v2.1.0
|
|
github.com/ory/dockertest/v3 v3.10.0
|
|
github.com/pelletier/go-toml v1.9.5
|
|
github.com/plgd-dev/go-coap/v2 v2.6.0
|
|
github.com/prometheus/client_golang v1.17.0
|
|
github.com/rabbitmq/amqp091-go v1.9.0
|
|
github.com/rubenv/sql-migrate v1.5.2
|
|
github.com/spf13/cobra v1.7.0
|
|
github.com/spf13/viper v1.17.0
|
|
github.com/stretchr/testify v1.8.4
|
|
go.mongodb.org/mongo-driver v1.12.1
|
|
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.45.0
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.45.0
|
|
go.opentelemetry.io/otel v1.19.0
|
|
go.opentelemetry.io/otel/exporters/jaeger v1.17.0
|
|
go.opentelemetry.io/otel/sdk v1.19.0
|
|
go.opentelemetry.io/otel/trace v1.19.0
|
|
golang.org/x/crypto v0.14.0
|
|
golang.org/x/net v0.17.0
|
|
golang.org/x/sync v0.4.0
|
|
gonum.org/v1/gonum v0.14.0
|
|
google.golang.org/grpc v1.58.3
|
|
google.golang.org/protobuf v1.31.0
|
|
gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df
|
|
)
|
|
|
|
require (
|
|
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
|
|
github.com/BurntSushi/toml v1.3.2 // indirect
|
|
github.com/CloudyKit/fastprinter v0.0.0-20200109182630-33d98a066a53 // indirect
|
|
github.com/CloudyKit/jet/v6 v6.2.0 // indirect
|
|
github.com/Joker/jade v1.1.3 // indirect
|
|
github.com/Microsoft/go-winio v0.6.1 // indirect
|
|
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect
|
|
github.com/Shopify/goreferrer v0.0.0-20220729165902-8cddb4f5de06 // indirect
|
|
github.com/andybalholm/brotli v1.0.5 // indirect
|
|
github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect
|
|
github.com/aymerick/douceur v0.2.0 // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/bytedance/sonic v1.10.2 // indirect
|
|
github.com/cenkalti/backoff/v3 v3.2.2 // indirect
|
|
github.com/certifi/gocertifi v0.0.0-20210507211836-431795d63e8d // indirect
|
|
github.com/cespare/xxhash/v2 v2.2.0 // indirect
|
|
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
|
|
github.com/chenzhuoyu/iasm v0.9.0 // indirect
|
|
github.com/containerd/continuity v0.4.2 // indirect
|
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
|
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
|
|
github.com/deepmap/oapi-codegen v1.15.0 // indirect
|
|
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
|
|
github.com/docker/cli v24.0.6+incompatible // indirect
|
|
github.com/docker/go-connections v0.4.0 // indirect
|
|
github.com/docker/go-units v0.5.0 // indirect
|
|
github.com/dsnet/golib/memfile v1.0.0 // indirect
|
|
github.com/envoyproxy/protoc-gen-validate v1.0.2 // indirect
|
|
github.com/fatih/structs v1.1.0 // indirect
|
|
github.com/felixge/httpsnoop v1.0.3 // indirect
|
|
github.com/flosch/pongo2/v4 v4.0.2 // indirect
|
|
github.com/fsnotify/fsnotify v1.6.0 // indirect
|
|
github.com/fxamacker/cbor/v2 v2.5.0 // indirect
|
|
github.com/gabriel-vasile/mimetype v1.4.3 // indirect
|
|
github.com/gin-contrib/sse v0.1.0 // indirect
|
|
github.com/gin-gonic/gin v1.9.1 // indirect
|
|
github.com/go-gorp/gorp/v3 v3.1.0 // indirect
|
|
github.com/go-jose/go-jose/v3 v3.0.0 // indirect
|
|
github.com/go-logfmt/logfmt v0.6.0 // indirect
|
|
github.com/go-logr/logr v1.2.4 // indirect
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
github.com/go-playground/locales v0.14.1 // indirect
|
|
github.com/go-playground/universal-translator v0.18.1 // indirect
|
|
github.com/go-playground/validator/v10 v10.15.5 // indirect
|
|
github.com/goccy/go-json v0.10.2 // indirect
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
github.com/golang/protobuf v1.5.3 // indirect
|
|
github.com/golang/snappy v0.0.4 // indirect
|
|
github.com/gomarkdown/markdown v0.0.0-20230922112808-5421fefb8386 // indirect
|
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
|
|
github.com/google/uuid v1.3.1 // indirect
|
|
github.com/gorilla/css v1.0.0 // indirect
|
|
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect
|
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.0 // indirect
|
|
github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed // indirect
|
|
github.com/hashicorp/errwrap v1.1.0 // indirect
|
|
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
|
github.com/hashicorp/go-multierror v1.1.1 // indirect
|
|
github.com/hashicorp/go-retryablehttp v0.7.4 // indirect
|
|
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
|
|
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.7 // indirect
|
|
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect
|
|
github.com/hashicorp/go-sockaddr v1.0.5 // indirect
|
|
github.com/hashicorp/hcl v1.0.0 // indirect
|
|
github.com/imdario/mergo v0.3.16 // indirect
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
|
github.com/influxdata/line-protocol v0.0.0-20210922203350-b1ad95c89adf // indirect
|
|
github.com/iris-contrib/schema v0.0.6 // indirect
|
|
github.com/jackc/pgio v1.0.0 // indirect
|
|
github.com/jackc/pgpassfile v1.0.0 // indirect
|
|
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
|
|
github.com/josharian/intern v1.0.0 // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/jzelinskie/stringz v0.0.2 // indirect
|
|
github.com/kataras/blocks v0.0.8 // indirect
|
|
github.com/kataras/golog v0.1.9 // indirect
|
|
github.com/kataras/iris/v12 v12.2.7 // indirect
|
|
github.com/kataras/pio v0.0.12 // indirect
|
|
github.com/kataras/sitemap v0.0.6 // indirect
|
|
github.com/kataras/tunnel v0.0.4 // indirect
|
|
github.com/klauspost/compress v1.17.0 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
|
|
github.com/labstack/echo/v4 v4.11.2 // indirect
|
|
github.com/labstack/gommon v0.4.0 // indirect
|
|
github.com/leodido/go-urn v1.2.4 // indirect
|
|
github.com/lestrrat-go/blackmagic v1.0.2 // indirect
|
|
github.com/lestrrat-go/httpcc v1.0.1 // indirect
|
|
github.com/lestrrat-go/httprc v1.0.4 // indirect
|
|
github.com/lestrrat-go/iter v1.0.2 // indirect
|
|
github.com/lestrrat-go/option v1.0.1 // indirect
|
|
github.com/magiconair/properties v1.8.7 // indirect
|
|
github.com/mailgun/raymond/v2 v2.0.48 // indirect
|
|
github.com/mailru/easyjson v0.7.7 // indirect
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
github.com/mattn/go-isatty v0.0.19 // indirect
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
|
|
github.com/microcosm-cc/bluemonday v1.0.26 // indirect
|
|
github.com/mitchellh/go-homedir v1.1.0 // indirect
|
|
github.com/moby/term v0.5.0 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/montanaflynn/stats v0.7.1 // indirect
|
|
github.com/nats-io/nkeys v0.4.5 // indirect
|
|
github.com/nats-io/nuid v1.0.1 // indirect
|
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
|
github.com/opencontainers/image-spec v1.0.2 // indirect
|
|
github.com/opencontainers/runc v1.1.9 // indirect
|
|
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
|
|
github.com/pion/dtls/v2 v2.2.7 // indirect
|
|
github.com/pion/logging v0.2.2 // indirect
|
|
github.com/pion/transport/v2 v2.2.4 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/plgd-dev/kit/v2 v2.0.0-20211006190727-057b33161b90 // indirect
|
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
|
github.com/prometheus/client_model v0.5.0 // indirect
|
|
github.com/prometheus/common v0.44.0 // indirect
|
|
github.com/prometheus/procfs v0.12.0 // indirect
|
|
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
|
github.com/ryanuber/go-glob v1.0.0 // indirect
|
|
github.com/sagikazarmark/locafero v0.3.0 // indirect
|
|
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
|
|
github.com/schollz/closestmatch v2.1.0+incompatible // indirect
|
|
github.com/segmentio/asm v1.2.0 // indirect
|
|
github.com/sirupsen/logrus v1.9.3 // indirect
|
|
github.com/sourcegraph/conc v0.3.0 // indirect
|
|
github.com/spf13/afero v1.10.0 // indirect
|
|
github.com/spf13/cast v1.5.1 // indirect
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
github.com/stretchr/objx v0.5.1 // indirect
|
|
github.com/subosito/gotenv v1.6.0 // indirect
|
|
github.com/tdewolff/minify/v2 v2.12.9 // indirect
|
|
github.com/tdewolff/parse/v2 v2.6.8 // indirect
|
|
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
|
|
github.com/ugorji/go/codec v1.2.11 // indirect
|
|
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
|
github.com/valyala/fasttemplate v1.2.2 // indirect
|
|
github.com/vmihailenco/msgpack/v5 v5.4.0 // indirect
|
|
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
|
|
github.com/x448/float16 v0.8.4 // indirect
|
|
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
|
|
github.com/xdg-go/scram v1.1.2 // indirect
|
|
github.com/xdg-go/stringprep v1.0.4 // indirect
|
|
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
|
|
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
|
|
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
|
|
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
|
|
github.com/yosssi/ace v0.0.5 // indirect
|
|
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect
|
|
go.opentelemetry.io/otel/metric v1.19.0 // indirect
|
|
go.uber.org/atomic v1.11.0 // indirect
|
|
go.uber.org/multierr v1.11.0 // indirect
|
|
golang.org/x/arch v0.5.0 // indirect
|
|
golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect
|
|
golang.org/x/mod v0.13.0 // indirect
|
|
golang.org/x/sys v0.13.0 // indirect
|
|
golang.org/x/text v0.13.0 // indirect
|
|
golang.org/x/time v0.3.0 // indirect
|
|
golang.org/x/tools v0.14.0 // indirect
|
|
google.golang.org/genproto v0.0.0-20231012201019-e917dd12ba7a // indirect
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20231012201019-e917dd12ba7a // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20231012201019-e917dd12ba7a // indirect
|
|
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect
|
|
gopkg.in/inf.v0 v0.9.1 // indirect
|
|
gopkg.in/ini.v1 v1.67.0 // indirect
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|