redis

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2016 License: MIT Imports: 10 Imported by: 0

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   `yaml:"host"`
	Port       int      `yaml:"port"`
	Db         int64    `yaml:"db"`
	Password   string   `yaml:"password"`
	CopyQueues []string `yaml:"copy_queues"`
}

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 yaml.MapSlice, sender buffer.Sender) error

func (*RedisServer) Start

func (redisServer *RedisServer) Start() error

func (*RedisServer) Stop

func (s *RedisServer) Stop() error

func (*RedisServer) ValidateConfig added in v0.0.2

func (redisServer *RedisServer) ValidateConfig(config *Config) error

Jump to

Keyboard shortcuts

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