sqlettuce

package module
v0.0.0-...-148d194 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2025 License: MIT Imports: 6 Imported by: 0

README

sqlettuce

Redis server with sqlite backed support.

Benchmarks

# run the benchmarks for the client
go test -bench . -run ^$
# run the benchmarks for all support `redis-benchmark` commands
redis-benchmark -p 6379 -q -c 10 -r 10000 -t "$(awk -F '"' '/case / { gsub(/, /, "\n"); print $2 }' commands/handle.go | tr ',' '\n' | sed '/^$/d' | tr '\n' ',' | sed 's/,$/\n/')"

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(addr string, client *sdk.Client) *Server

func (*Server) Close

func (s *Server) Close() error

func (*Server) Start

func (s *Server) Start()

Directories

Path Synopsis
nolint: sqlclosecheck, wrapcheck
nolint: sqlclosecheck, wrapcheck

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL