Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventPublisher ¶
type EventPublisher struct {
// contains filtered or unexported fields
}
func CreateNewEventPublisher ¶
func CreateNewEventPublisher() *EventPublisher
func (*EventPublisher) AppendNewConnection ¶
func (e *EventPublisher) AppendNewConnection(conn *websocket.Conn)
func (*EventPublisher) Full ¶
func (e *EventPublisher) Full() bool
func (*EventPublisher) Publish ¶
func (e *EventPublisher) Publish(data []byte)
func (*EventPublisher) SelectPosition ¶
func (e *EventPublisher) SelectPosition() int
type EventRequest ¶
func DeserializeEventRequest ¶
func DeserializeEventRequest(requestStr []byte) (*EventRequest, error)
type EventRouter ¶
type EventRouter struct {
// contains filtered or unexported fields
}
func CreateNewEventRouter ¶
func CreateNewEventRouter() *EventRouter
func (*EventRouter) AppendEvent ¶
func (e *EventRouter) AppendEvent(event Event)
func (*EventRouter) HandleConnect ¶
func (e *EventRouter) HandleConnect(w http.ResponseWriter, r *http.Request)
func (*EventRouter) Process ¶
func (e *EventRouter) Process()
type EventTopic ¶
type EventTopic string
Click to show internal directories.
Click to hide internal directories.