api

package
v0.0.0-...-5dbc853 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2015 License: BSD-3-Clause Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BufferedChanLen int = 10
)

Variables

View Source
var (
	Hub = hub{
		// contains filtered or unexported fields
	}
)

Functions

func Authenticate

func Authenticate(next http.Handler) http.Handler

func Handler

func Handler() *mux.Router

Types

type QueueManager

type QueueManager struct {
}

just a place holder

func (*QueueManager) Dispatch

func (qm *QueueManager) Dispatch(queue string, key string)

dispatch pops an envelope from shared queue and pushes to all servers' queues. queue is the shared queue

func (*QueueManager) Pop

func (qm *QueueManager) Pop(msgQueue string)

Jump to

Keyboard shortcuts

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