Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hub ¶
type Hub struct {
Subscribe chan Parcel
Unsubscribe chan Parcel
Broadcast chan Parcel
// contains filtered or unexported fields
}
Hub is the struct that hold the subscription and do the broadcast logic
Click to show internal directories.
Click to hide internal directories.