redis

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2016 License: MIT Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Host     string   `json:"host"`
	Port     int      `json:"port"`
	Db       int64    `json:"db"`
	Password string   `json:"password"`
	Keys     []string `json:"keys"`
}

type RedisQueue

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

func NewRedisQueue

func NewRedisQueue(config Config, key string) *RedisQueue

func (*RedisQueue) Start

func (redisQueue *RedisQueue) Start()

type RedisServer

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

func (*RedisServer) Init

func (redisServer *RedisServer) Init(config json.RawMessage, sender buffer.Sender) error

func (*RedisServer) Start

func (redisServer *RedisServer) Start() error

func (*RedisServer) Stop

func (s *RedisServer) Stop() error

Jump to

Keyboard shortcuts

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