An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 7.2% on proxy.golang.org
Top 7.0% forks on proxy.golang.org

proxy.golang.org : github.com/inkel/gedis

Copyright 2013 Leandro López (inkel) This package implements a very low-level interface to read and write using the Redis protocol. It also provides a simple client to talk to a Redis server. THIS IS FAR FROM BEING PRODUCTION READY. Gedis currently provides two API functions for writing and reading the [Redis protocol](http://redis.io/topics/protocol). It also defines two simple interfaces: `Reader` and `Writer` Gedis defines the following `Writer` interface: It is possible to send Redis commands to any object that implements that interface, i.e. [`net.Conn`](http://golang.org/pkg/net/#Conn), by using the following function: Gedis defines the following `Reader` interface: It is possible to read Redis replies from any object that implements that interface, i.e. net.Conn, by using the following function: API usage example To avoid you the hassle of having to pass the connction parameter in every call, `gedis` defines the following `Client` object: Client usage example I wanted to learn Go, so I decided to write a minimal Redis client. Perhaps one day I might decide to do something else with it, but in the mean, the goals are merely academic. Feel free to comment on the code and send patches if you like. Redis uses a very simple text protocol, which is binary safe.

Registry - Source - Documentation - JSON - codemeta.json
purl: pkg:golang/github.com/inkel/gedis
License: MIT
Latest release: over 12 years ago
First release: over 12 years ago
Namespace: github.com/inkel
Stars: 10 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 16 days ago

    Loading...
    Readme
    Loading...