Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkersPool ¶
type WorkersPool struct {
// contains filtered or unexported fields
}
func NewWorkersPool ¶
func NewWorkersPool(subscriber pubsub.Subscriber, connections *sync.Map, log logger.Logger) *WorkersPool
NewWorkersPool constructs worker pool for the websocket connections
func (*WorkersPool) Queue ¶
func (wp *WorkersPool) Queue(msg *pubsub.Message)
func (*WorkersPool) Stop ¶
func (wp *WorkersPool) Stop()
Click to show internal directories.
Click to hide internal directories.