Documentation
¶
Overview ¶
Package multicast provides multicast helpers over websocket.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeIntervalMessage ¶
ChangeIntervalMessage is a specified message for change interval of sending high-frequency messages
type Multicast ¶
type Multicast struct {
// contains filtered or unexported fields
}
Multicast is a main communicator for linking sender and receivers
func New ¶
func New( ctx context.Context, onError func(error), merge func(source interface{}, diff interface{}) (merged interface{}), initInterval time.Duration, ) *Multicast
New creates new Multicast with empty clients
Click to show internal directories.
Click to hide internal directories.