Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientAuthorizationStatus ¶
type ClientAuthorizationStatus struct {
// contains filtered or unexported fields
}
type SSEAuthRequestMessage ¶
type SSEAuthRequestMessage struct { UserId uuid.UUID SourceIP string Message SSEMessage }
type SSEController ¶
type SSEController struct {
// contains filtered or unexported fields
}
func (*SSEController) HandleEvents ¶
func (s *SSEController) HandleEvents(w http.ResponseWriter, r *http.Request)
func (*SSEController) Start ¶
func (s *SSEController) Start()
Start ensures each client receives a periodic ping to maintain the connection This signals the app that the connection shouldn't be closes Also aims at signalling potential corporate proxies that they should not close the connection.
type SSEMessage ¶
Click to show internal directories.
Click to hide internal directories.