broadcast

package
v3.0.0-rc+incompatible Latest Latest
Warning

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

Go to latest
Published: May 19, 2018 License: MIT Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BroadcastMessage

type BroadcastMessage string

type GroupBroadcast

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

func NewGroupBroadcast

func NewGroupBroadcast() *GroupBroadcast

func (*GroupBroadcast) BroadcastMessage

func (gb *GroupBroadcast) BroadcastMessage(message BroadcastMessage)

func (*GroupBroadcast) ListenMessages

func (gb *GroupBroadcast) ListenMessages(stop <-chan struct{}, buffer uint) <-chan BroadcastMessage

func (*GroupBroadcast) Start

func (gb *GroupBroadcast) Start(stop <-chan struct{})

Jump to

Keyboard shortcuts

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