pool

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager manages different redis connections

func NewManager

func NewManager(messageChan chan message) *Manager

NewManager constructs a new Manager

func (*Manager) Manage

func (manager *Manager) Manage()

Manage tells the manager to manage. I'm a people person

type Pool

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

Pool is a redis connection pool

func New

func New() *Pool

New constructs a new Pool

func (*Pool) Publish

func (pool *Pool) Publish(redisURI, redisQueueName string, data []byte)

Publish publishes to redis

Jump to

Keyboard shortcuts

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