broker

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const FailureCount = 5

Variables

This section is empty.

Functions

This section is empty.

Types

type Broker

type Broker struct {
	Register   chan string
	NextClient chan string
	Status     chan Status
	// contains filtered or unexported fields
}

func New

func New(interval time.Duration, alternate bool) *Broker

func (*Broker) Run

func (b *Broker) Run()

type Status

type Status struct {
	Client  string
	Success bool
}

Jump to

Keyboard shortcuts

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