Registry / networking / tidwall-redcon

tidwall-redcon

JSON →
library1.6.2gogounverified

A Redis compatible server framework for building custom Redis servers in Go.

go get github.com/tidwall/redcon
INSTALL
IMPORT
SIG · TIDWALL-REDCON
T
tidwall-redcon
networkinggov1.6.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

redcon
github.com/tidwall/redcon

Creates a simple Redis-compatible server that responds to PING.

package main import ( "github.com/tidwall/redcon" ) func main() { server := redcon.NewServer(":6380", func(conn redcon.Conn, cmd redcon.Command) { switch string(cmd.Args[0]) { case "ping": conn.WriteString("pong") } }, func(conn redcon.Conn) bool { return true }, func(conn redcon.Conn, err error) {}, ) server.Close() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.6.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
OpenAI (training)
1
Resources
tidwall-redcon — go get tidwall-redcon · libregistry