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: 12 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"`
	InputQueue   string `yaml:"input_queue"`
	WorkingQueue string `yaml:"working_queue"`
	JsonDecode   bool   `yaml:"json_decode"`
}

type RedisInputServer

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

func (*RedisInputServer) Init

func (redisServer *RedisInputServer) Init(config yaml.MapSlice, receiver input.Receiver) error

func (*RedisInputServer) Start

func (redisServer *RedisInputServer) Start() error

func (*RedisInputServer) Stop

func (redisServer *RedisInputServer) Stop() error

func (*RedisInputServer) ValidateConfig added in v0.0.2

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

Jump to

Keyboard shortcuts

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