Documentation ¶
Overview ¶
Package wshub provides a websocket server and client using gorilla/websocket for package hub.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { *websocket.Dialer TokenProvider Log log.Logger // contains filtered or unexported fields }
type Server ¶
func (*Server) HandleHTTP ¶
func (s *Server) HandleHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.