Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMiddleware ¶
NewMiddleware creates an HTTP handler that acts as middleware. Its primary purpose is to intercept HTTP responses and inject a WebSocket client script into the body of HTML pages. This injection allows for dynamic content updates on the client side without requiring a page refresh.
Types ¶
type NoopServer ¶
type NoopServer struct{}
    func (*NoopServer) Emit ¶
func (*NoopServer) Emit(evt events.Event)
 Click to show internal directories. 
   Click to hide internal directories.