writer

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2016 License: MIT Imports: 6 Imported by: 0

README

redis-writer

Redis-based writer data store

Install

    go get -u github.com/taka-wang/psmb/redis-writer

Environment variables

  • CONF_PSMBTCP: config file location
  • EP_BACKEND: remote service discovery endpoint (optional)

Test cases

  • TestWriterMap tests

UML

uml

Documentation

Overview

Package writer an redis-based data store for writer.

By taka@cmwang.net

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrConnection is the error when the connection failed
	ErrConnection = errors.New("Fail to connect to redis server")
)

Functions

func NewDataStore

func NewDataStore(c map[string]string) (interface{}, error)

NewDataStore instantiate mbtcp write task map

Types

This section is empty.

Jump to

Keyboard shortcuts

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