Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWebsocketHandler ¶
Types ¶
type HttpHandler ¶
type HttpHandler struct {
Messages <-chan []byte
}
func NewHttpHandler ¶
func NewHttpHandler(m <-chan []byte) *HttpHandler
func (*HttpHandler) ServeHTTP ¶
func (h *HttpHandler) ServeHTTP(rw http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.