Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
	MaxSubscriptionsPerConnection uint64
	MaxResponsesPerSecond         uint64
	SendMessageTimeout            time.Duration
	MaxRequestSize                int64
}
    func NewDefaultWebsocketConfig ¶
func NewDefaultWebsocketConfig() Config
type Controller ¶
type Controller struct {
	// contains filtered or unexported fields
}
    func NewWebSocketController ¶
func NewWebSocketController( logger zerolog.Logger, config Config, conn *websocket.Conn, dataProviderFactory dp.DataProviderFactory, ) *Controller
func (*Controller) HandleConnection ¶
func (c *Controller) HandleConnection(ctx context.Context)
HandleConnection manages the WebSocket connection, adding context and error handling.
type Handler ¶
type Handler struct {
	*common.HttpHandler
	// contains filtered or unexported fields
}
    func NewWebSocketHandler ¶
 Click to show internal directories. 
   Click to hide internal directories.