Versions in this module Expand all Collapse all v0 v0.0.2 Sep 11, 2023 v0.0.1 Sep 11, 2023 Changes in this version + type Hub struct + func NewHub() *Hub + func (h *Hub) Broadcast(data interface{}) + func (h *Hub) Serve(w http.ResponseWriter, r *http.Request)