#lang scribble/manual @require[(planet cce/scheme:4:1/planet)] @require[(for-label (this-package-in main))] @require[(for-label racket/tcp)] @title{Redis} @author{@(author+email "Jan Dvorak" "mordae@anilinux.org")} Redis client for Racket. @defmodule/this-package[] @defproc[(redis-server? (value any/c)) boolean?]{ Determines if given value is a Redis server structure. } @defproc[(redis-connect (#:host host string? "localhost") (#:port port (integer-in 1 65535) 6379)) redis-server?]{ Connects to specified Redis server. } @defproc[(redis-query (server redis-server?) (command (or/c string? bytes? symbol?)) (arg (listof (or/c string? bytes? symbol? integer?))) ...) redis-reply/c]{ Executes specified Redis command with given arguments and returns result. } @defproc[(redis-disconnect! (server redis-server?)) void?]{ Disconnects from given Redis server. } @defproc[(redis-reply/c (value any/c)) boolean?]{ Contract for Redis replies. } @defproc[(exn:redis? (value any/c)) boolean]{ Determines if given value is a Redis exception. } @; vim:set ft=scribble sw=2 ts=2 et: