Documentation
¶
Overview ¶
Package redsrv implements a Redis-compatible (RESP) server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DebugServer ¶
type DebugServer struct {
// contains filtered or unexported fields
}
DebugServer is a debug server with pprof endpoints.
func NewDebug ¶
func NewDebug(host string, port int) *DebugServer
NewDebug creates a new debug server.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
A Redis-compatible Redka server that uses the RESP protocol. Works with a Redka database instance.
To start the server, call Server.Start method and wait for the ready channel to receive a nil value (success) or an error.
To stop the server, call Server.Stop method.
func New ¶
New creates a new Redka server with the given network, address and database. Does not start the server.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
command
Package command implements Redis-compatible commands for operations on data structures.
|
Package command implements Redis-compatible commands for operations on data structures. |
|
parser
Package parser implements command arguments parsing.
|
Package parser implements command arguments parsing. |
|
redis
Package redis implements basis for Redis-compatible commands in Redka.
|
Package redis implements basis for Redis-compatible commands in Redka. |
Click to show internal directories.
Click to hide internal directories.