Documentation ¶
Index ¶
Constants ¶
View Source
const (
BufferedChanLen int = 10
)
Variables ¶
View Source
var ( Hub = hub{ // contains filtered or unexported fields } )
Functions ¶
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)
Click to show internal directories.
Click to hide internal directories.