broker

package
v0.0.0-...-4887f56 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackToBack

type BackToBack struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewBackToBack

func NewBackToBack(registry metrics.Registry) *BackToBack

func (*BackToBack) ClientWorkerConsumer

func (btb *BackToBack) ClientWorkerConsumer(c net.Conn)

func (*BackToBack) ClientWorkerProducer

func (btb *BackToBack) ClientWorkerProducer(c net.Conn)

func (*BackToBack) GetRegistry

func (btb *BackToBack) GetRegistry() metrics.Registry

func (*BackToBack) Listen

func (btb *BackToBack) Listen(listener net.Listener, worker func(net.Conn))

func (*BackToBack) PrintStatsEvery

func (btb *BackToBack) PrintStatsEvery(n int, l metrics.Logger)

type MessageAndReply

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

type Topic

type Topic struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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