Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EventHandler ¶
type EventHandler struct {
// contains filtered or unexported fields
}
func NewEventHandler ¶
func NewEventHandler(pub *publisher.Publisher, publishEvent *event.Event[*ISCEvent], subscriptionValidator *SubscriptionValidator) *EventHandler
func (*EventHandler) AttachToEvents ¶
func (p *EventHandler) AttachToEvents()
func (*EventHandler) DetachEvents ¶
func (p *EventHandler) DetachEvents()
type ISCEvent ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewWebsocketService ¶
func (*Service) EventHandler ¶
func (p *Service) EventHandler() *EventHandler
type SubscriptionValidator ¶
type SubscriptionValidator struct {
// contains filtered or unexported fields
}
func NewSubscriptionValidator ¶
func NewSubscriptionValidator(messageTypes map[publisher.ISCEventType]bool, subscriptionManager *subscriptionmanager.SubscriptionManager[websockethub.ClientID, string]) *SubscriptionValidator
Click to show internal directories.
Click to hide internal directories.