{"modulePath":"github.com/codefuture-io/libqueue","version":"v1.0.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package redis\n\n## Types\n\n```go\ntype RedisClient struct {\n\tredis.Client\n}\n```\n\n```go\ntype RedisPubSub struct {\n\tRedisClient\n\tChannel string\n}\n```\n\n```go\nfunc (rPubSub *RedisPubSub) Close() error\n```\n\n```go\nfunc (rPubSub *RedisPubSub) Publish(msg string) error\n```\n\n```go\nfunc (rPubSub *RedisPubSub) ReceiveMessage() chan string\n```\n\n```go\nfunc (rPubSub *RedisPubSub) SetChannel(channel string) i.IPubSub\n```\n\n```go\nfunc (rPubSub *RedisPubSub) SetClient(iClient *i.IClient) i.IPubSub\n```\n\n```go\ntype RedisQueue struct {\n\tRedisClient\n\tTopic string\n}\n```\n\n```go\nfunc (rq *RedisQueue) Dequeue() (string, error)\n```\n\n```go\nfunc (rq *RedisQueue) Enqueue(val string) error\n```\n\n```go\nfunc (rq *RedisQueue) SetClient(iClient *i.IClient) i.IQueue\n```\n\n```go\nfunc (rq *RedisQueue) SetTopic(topic string) i.IQueue\n```\n\n","path":"github.com/codefuture-io/libqueue/redis","name":"redis","synopsis":"","isRedistributable":true}
