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{})
Click to show internal directories.
Click to hide internal directories.