Ecosyste.ms: Repos
An open API service providing repository metadata for many open source software ecosystems.
Package Usage: go: github.com/mediocregopher/radix/v3
Package radix implements all functionality needed to work with redis and all
things related to it, including redis cluster, pubsub, sentinel, scanning,
lua scripting, and more.
For a single node redis instance use NewPool to create a connection pool. The
connection pool is thread-safe and will automatically create, reuse, and
recreate connections as needed:
If you're using sentinel or cluster you should use NewSentinel or NewCluster
(respectively) to create your client instead.
Any redis command can be performed by passing a Cmd into a Client's Do
method. Each Cmd should only be used once. The return from the Cmd can be
captured into any appopriate go primitive type, or a slice, map, or struct,
if the command returns an array.
FlatCmd can also be used if you wish to use non-string arguments like
integers, slices, maps, or structs, and have them automatically be flattened
into a single string slice.
Cmd and FlatCmd can unmarshal results into a struct. The results must be a
key/value array, such as that returned by HGETALL. Exported field names will
be used as keys, unless the fields have the "redis" tag:
Embedded structs will inline that struct's fields into the parent's:
The same rules for field naming apply when a struct is passed into FlatCmd as
an argument.
Cmd and FlatCmd both implement the Action interface. Other Actions include
Pipeline, WithConn, and EvalScript.Cmd. Any of these may be passed into any
Client's Do method.
There are two ways to perform transactions in redis. The first is with the
MULTI/EXEC commands, which can be done using the WithConn Action (see its
example). The second is using EVAL with lua scripting, which can be done
using the EvalScript Action (again, see its example).
EVAL with lua scripting is recommended in almost all cases. It only requires
a single round-trip, it's infinitely more flexible than MULTI/EXEC, it's
simpler to code, and for complex transactions, which would otherwise need a
WATCH statement with MULTI/EXEC, it's significantly faster.
All the client creation functions (e.g. NewPool) take in either a ConnFunc or
a ClientFunc via their options. These can be used in order to set up timeouts
on connections, perform authentication commands, or even implement custom
pools.
All interfaces in this package were designed such that they could have custom
implementations. There is no dependency within radix that demands any
interface be implemented by a particular underlying type, so feel free to
create your own Pools or Conns or Actions or whatever makes your life easier.
Errors returned from redis can be explicitly checked for using the the
resp2.Error type. Note that the errors.As function, introduced in go 1.13,
should be used.
Use the golang.org/x/xerrors package if you're using an older version of go.
Implicit pipelining is an optimization implemented and enabled in the default
Pool implementation (and therefore also used by Cluster and Sentinel) which
involves delaying concurrent Cmds and FlatCmds a small amount of time and
sending them to redis in a single batch, similar to manually using a Pipeline.
By doing this radix significantly reduces the I/O and CPU overhead for
concurrent requests.
Note that only commands which do not block are eligible for implicit pipelining.
See the documentation on Pool for more information about the current
implementation of implicit pipelining and for how to configure or disable
the feature.
For a performance comparisons between Clients with and without implicit
pipelining see the benchmark results in the README.md.
21 versions
Latest release: almost 2 years ago
360 dependent packages
View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/mediocregopher/radix/v3
View more repository details: https://repos.ecosyste.ms/hosts/GitHub/repositories/mediocregopher%2Fradix
Dependent Repos 4,241
sourcegraph/lsif-go 📦
Language Server Indexing Format (LSIF) generator for Go- v3.3.0 go.sum
Size: 1.89 MB - Last synced: 18 days ago - Pushed: 8 months ago
Blake8868/mvm Fork of MetisProtocol/mvm
A hard fork of the Optimistic Ethereum protocol (optimism.io)- v3.4.2 go/batch-submitter/go.sum
Size: 27.1 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
NexonSU/telegram-go-chatbot
t.me/zavtrachat bot- v3.3.0 go.sum
Size: 1010 KB - Last synced: 23 days ago - Pushed: 23 days ago
mattermost-community/mattermost-plugin-msteams-meetings
Mattermost Plugin for Microsoft Teams Meetings- v3.3.0 build/go.sum
- v3.3.0 go.sum
Size: 1.03 MB - Last synced: 8 days ago - Pushed: about 1 month ago
kokizzu/kubectl-cost Fork of kubecost/kubectl-cost
CLI for determining the cost of Kubernetes workloads- v3.3.0 go.sum
Size: 865 KB - Last synced: 19 days ago - Pushed: 19 days ago
cdlaimin/KubePi Fork of KubeOperator/KubePi
KubePi 是一款简单易用的开源 Kubernetes 可视化管理面板- v3.4.2 go.sum
- v3.6.0 go.sum
Size: 14.6 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
dgfug/grafana Fork of grafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.- v3.4.2 go.sum
Size: 420 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
ekmixon/grafana Fork of grafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.- v3.4.2 go.sum
Size: 462 MB - Last synced: 12 days ago - Pushed: 13 days ago
pawanku2/grafana Fork of grafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.- v3.4.2 go.sum
Size: 490 MB - Last synced: about 1 month ago - Pushed: about 1 month ago
francissimo/grafana Fork of grafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.- v3.4.2 go.sum
Size: 423 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
billduan/httprunner Fork of httprunner/httprunner
HttpRunner 是一个开源的 API 测试工具,支持 HTTP(S) / HTTP2 / WebSocket / RPC 等网络协议,涵盖接口测试、性能测试、数字体验监测等测试类型。简单易用,功能强大,具有丰富的插件化机制和高度的可扩展能力。- v3.4.2 go.sum
Size: 33.4 MB - Last synced: about 1 year ago - Pushed: almost 2 years ago
soracom/grafana Fork of grafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.- v3.4.2 go.sum
Size: 677 MB - Last synced: 2 months ago - Pushed: 4 months ago
bb-idea/httprunner Fork of httprunner/httprunner
HttpRunner 是一个开源的 API 测试工具,支持 HTTP(S) / HTTP2 / WebSocket / RPC 等网络协议,涵盖接口测试、性能测试、数字体验监测等测试类型。简单易用,功能强大,具有丰富的插件化机制和高度的可扩展能力。- v3.4.2 go.sum
Size: 33.8 MB - Last synced: about 1 year ago - Pushed: almost 2 years ago
ndrpnt/terraform-provider-mattermost
Terraform Mattermost provider- v3.4.2 go.sum
Size: 828 KB - Last synced: 2 months ago - Pushed: about 1 year ago
Xuanwo/envd Fork of tensorchord/envd
🏕️ Development environment for machine learning- v3.3.0 go.sum
- v3.4.2 go.sum
Size: 726 KB - Last synced: 26 days ago - Pushed: almost 2 years ago
VoVAllen/envd-docs Fork of tensorchord/envd-docs
envd Website- v3.3.0 go.sum
- v3.4.2 go.sum
Size: 2.78 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
kuberlogic/kuberlogic
KuberLogic turns a containerized application into a functional SaaS offering, with integrated billing, monitoring, and customer management.- v3.4.2 modules/dynamic-apiserver/go.sum
- v3.4.2 modules/dynamic-operator/go.sum
Size: 7.57 MB - Last synced: 3 months ago - Pushed: over 1 year ago
L00170150/grafana Fork of grafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.- v3.4.2 go.sum
Size: 582 MB - Last synced: 3 months ago - Pushed: 3 months ago
vocdoni/vocdoni-node
A set of libraries and tools for the Vocdoni decentralized backend infrastructure, the main ground of our universally verifiable, privacy-centric and scalable digital voting protocol- v3.3.0 go.sum
- v3.4.2 go.sum
Size: 16.3 MB - Last synced: about 1 month ago - Pushed: about 1 month ago
stolostron/grafana Fork of grafana/grafana
The tool for beautiful monitoring and metric analytics & dashboards for Graphite, InfluxDB & Prometheus & More- v3.4.2 go.sum
Size: 747 MB - Last synced: 5 days ago - Pushed: 5 days ago
mattermost-community/mattermost-plugin-jitsi
Jitsi plugin for Mattermost :electric_plug:- v3.3.0 go.sum
Size: 18.7 MB - Last synced: 8 days ago - Pushed: 26 days ago
jualito/tech-talk
- v3.4.2 go.sum
Size: 370 KB - Last synced: about 1 year ago - Pushed: about 1 year ago
HereNotThere/dendrite Fork of matrix-org/dendrite
Dendrite is a second-generation Matrix homeserver written in Go!- v3.4.2 go.sum
Size: 42.1 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
aske-w/itu-minitwit
- v3.8.0 server/go.mod
- v3.8.0 server/go.sum
Size: 28.8 MB - Last synced: 7 months ago - Pushed: 7 months ago
sysdiglabs/redis_exporter Fork of oliver006/redis_exporter
Prometheus Exporter for Redis Metrics. Supports Redis 2.x, 3.x, 4.x, 5.x and 6.x- v3.4.2 contrib/redis-mixin/go.sum
Size: 7.08 MB - Last synced: 5 months ago - Pushed: 5 months ago
lkighy/blog
博客系统- v3.3.0 go-sys/go.sum
- v3.4.2 go-sys/go.sum
Size: 1.04 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
ConnectionMaster/gitlabhq Fork of gitlabhq/gitlabhq
GitLab CE Mirror | Please open new issues in our issue tracker on GitLab.com- v3.3.0 workhorse/go.sum
- v3.4.2 workhorse/go.sum
Size: 1.4 GB - Last synced: about 1 month ago - Pushed: about 1 month ago
f24aalam/go-cms
- v3.8.0 go.mod
- v3.5.0 go.sum
- v3.5.2 go.sum
- v3.8.0 go.sum
Size: 118 KB - Last synced: about 1 year ago - Pushed: almost 2 years ago
appbaseio/reactivesearch-api
API Gateway for Elasticsearch with declarative querying and out-of-the-box access controls- v3.4.2 go.sum
Size: 3.5 MB - Last synced: 16 days ago - Pushed: 16 days ago
gifhuppp/sourcegraph Fork of sourcegraph/sourcegraph
Universal code search (self-hosted)- v3.3.0 enterprise/dev/insight-data-gen/go.sum
- v3.3.0 go.sum
- v3.4.2 go.sum
- v3.3.0 internal/cmd/progress-bot/go.sum
- v3.3.0 internal/cmd/resources-report/go.sum
Size: 639 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
ankitm123/go-ethereum Fork of ethereum/go-ethereum
Official Go implementation of the Ethereum protocol- v3.4.2 go.sum
Size: 182 MB - Last synced: 8 months ago - Pushed: 8 months ago
boost-entropy-golang/porter Fork of porter-dev/porter
Kubernetes powered PaaS that runs in your own cloud.- v3.4.2 go.sum
Size: 36.3 MB - Last synced: 10 months ago - Pushed: 10 months ago
acifani/accorciami
🧭 Tiny URL shortener- v3.4.2 golang/go.mod
- v3.4.2 golang/go.sum
Size: 151 KB - Last synced: about 1 year ago - Pushed: over 1 year ago
wesionaryTEAM/go_clean_architecture
Go Clean Architecture Used at @wesionaryteam- v3.4.2 go.sum
Size: 48.4 MB - Last synced: 20 days ago - Pushed: 21 days ago
RedHatInsights/insights-results-aggregator-utils
Utilities for Insights Results Aggregator- v3.3.0 s3/download_prod_data/go.sum
Size: 1 MB - Last synced: about 1 month ago - Pushed: about 1 month ago
giantswarm/cluster-apps-operator
Manages apps in Kubernetes workload clusters- v3.4.2 go.sum
Size: 1020 KB - Last synced: 4 days ago - Pushed: 4 days ago
skit-ai/vcore
Common, utility packages for Go- v3.4.2 go.mod
- v3.4.2 go.sum
Size: 463 KB - Last synced: 5 days ago - Pushed: 5 days ago
Bughalla/snyk_driftctl Fork of snyk/driftctl
Detect, track and alert on infrastructure drift- v3.4.2 go.sum
Size: 7.14 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
fqazi/cockroach Fork of cockroachdb/cockroach
CockroachDB - the open source, cloud-native distributed SQL database.- v3.3.0 go.sum
Size: 1.55 GB - Last synced: about 1 month ago - Pushed: about 2 months ago
nais/cli
A simple NAIS CLI- v3.4.2 go.sum
Size: 2.23 MB - Last synced: about 1 month ago - Pushed: about 1 month ago
lopezator/sqlfmt
SQL Formatter- v3.3.0 go.sum
- v3.4.2 go.sum
Size: 5.26 MB - Last synced: 10 months ago - Pushed: about 1 year ago
daviszhen/matrixone Fork of matrixorigin/matrixone
Planet scale, cloud-edge native big data engine crafted for heterogeneous workloads- v3.3.0 go.sum
- v3.4.2 go.sum
Size: 99.4 MB - Last synced: about 1 month ago - Pushed: about 1 month ago
18F/imls-library-wifi-estimation 📦
- v3.4.2 imls-raspberry-pi/go.sum
Size: 520 MB - Last synced: about 1 month ago - Pushed: over 1 year ago
suzuito/blog1-gcf
- v3.4.2 go.sum
Size: 123 KB - Last synced: about 1 month ago - Pushed: about 1 year ago
sourcegraph/log
Logging for Sourcegraph, with Sentry- v3.3.0 go.sum
- v3.4.2 go.sum
Size: 146 KB - Last synced: 10 days ago - Pushed: 12 days ago
floundon/youtube-websub-to-discord-webhook
- v3.4.2 go.sum
Size: 142 KB - Last synced: 4 months ago - Pushed: about 1 year ago
W3-Engineers-Ltd/Radiant
- v3.4.2 go.sum
Size: 2.25 MB - Last synced: 7 days ago - Pushed: 12 days ago
mintak21/qiitanwrapper
QiitaWrapperAPI- v3.4.2 go.sum
Size: 281 KB - Last synced: about 1 year ago - Pushed: about 1 year ago
thecampagnards/sql-to-go
Transform SQL create tables to Go struct- v3.3.0 go.sum
Size: 46.2 MB - Last synced: 5 days ago - Pushed: about 1 year ago
piprate/sequel-flow-contracts
Flow smart contracts for Sequel- v3.4.2 lib/go/iinft/go.sum
Size: 579 KB - Last synced: 9 months ago - Pushed: about 1 year ago
vs4vijay/vizix
GoLang codebase for fun and learning!- v3.3.0 go.sum
- v3.4.2 go.sum
Size: 6.07 MB - Last synced: 19 days ago - Pushed: 19 days ago
niradler/serverless-auth-go
Simple authentication mechanism base on aws serverless services (Dynmodb, Lambda, ApiGateway)- v3.4.2 functions/go.sum
Size: 132 KB - Last synced: 10 months ago - Pushed: almost 2 years ago
easysoft/zentaoatf
zentaoatf is an cross platform automation testing framework written in go language.- v3.6.0 go.sum
Size: 104 MB - Last synced: 24 days ago - Pushed: 24 days ago
snapp-incubator/qsse
SSE over QUIC protocol- v3.4.2 go.sum
Size: 594 KB - Last synced: 13 days ago - Pushed: 13 days ago
mattermost-community/mattermost-plugin-agenda
Mattermost plugin to handle meeting agendas- v3.3.0 go.sum
Size: 1.53 MB - Last synced: 6 days ago - Pushed: 25 days ago
charleszheng44/tiflow Fork of pingcap/tiflow
This repo maintains DM (a data migration platform) and TiCDC (change data capture for TiDB)- v3.3.0 go.sum
Size: 136 MB - Last synced: 11 months ago - Pushed: 11 months ago
mattermost-community/mattermost-plugin-autolink
Automatically rewrite text matching a regular expression into a markdown link.- v3.4.2 go.sum
Size: 994 KB - Last synced: 4 days ago - Pushed: about 1 month ago
cockroachdb/cockroach-gen
CockroachDB with pre-generated Go code- v3.3.0 go.sum
- v3.4.2 go.sum
Size: 4.49 GB - Last synced: 2 months ago - Pushed: 2 months ago
sukhjit/lambda-mock-server
- v3.4.2 go.sum
Size: 535 KB - Last synced: about 2 months ago - Pushed: about 1 year ago
dictyBase/modware-import
cli application for importing dictybase data- v3.3.0 go.sum
Size: 26.3 MB - Last synced: 15 days ago - Pushed: 15 days ago
savannahghi/mycarehub
This service contains the implementation of the mycarehub project- v3.4.2 go.sum
Size: 10.3 MB - Last synced: 10 days ago - Pushed: 10 days ago
iotaledger/hornet
HORNET is a powerful IOTA fullnode software- v3.3.0 go.sum
- v3.4.2 go.sum
Size: 164 MB - Last synced: 16 days ago - Pushed: 16 days ago
findonflow/find
.find people and NFTs #OnFlow- v3.4.2 go.sum
Size: 46.2 MB - Last synced: about 1 month ago - Pushed: about 1 month ago
giantswarm/prometheus-meta-operator
- v3.4.2 go.sum
Size: 9.68 MB - Last synced: about 1 month ago - Pushed: about 2 months ago
chanzuckerberg/aws-oidc
AWS OIDC Federation- v3.4.2 go.sum
Size: 1.31 MB - Last synced: 5 days ago - Pushed: 5 days ago
gotd/contrib
Contrib package for gotd.- v3.3.0 go.sum
Size: 1.44 MB - Last synced: 15 days ago - Pushed: 16 days ago
BeryJu/imagik
Pyazo, but fast. Small, compact file-server.- v3.4.2 go.sum
Size: 2.57 MB - Last synced: 7 days ago - Pushed: 7 days ago
SigNoz/opentelemetry-collector-contrib 📦
- v3.4.2 cmd/configschema/go.sum
- v3.4.2 exporter/sentryexporter/go.sum
- v3.4.2 go.sum
Size: 109 MB - Last synced: about 1 month ago - Pushed: over 1 year ago
gotd/td
Telegram client, in Go. (MTProto API)- v3.3.0 examples/bg-run/go.sum
- v3.3.0 examples/gif-download/go.sum
Size: 47.4 MB - Last synced: about 1 month ago - Pushed: about 1 month ago
RedHatInsights/insights-results-aggregator-exporter
Exporter for Insights Results data stored by Insights Results Aggregator- v3.4.2 go.sum
Size: 580 KB - Last synced: 24 days ago - Pushed: 25 days ago