Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultHtmlFile = `` /* 1860-byte string literal not displayed */
View Source
const HotReloadScript = `` /* 558-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func AddHotReloadScript ¶
func GetDefaultHtmlFile ¶ added in v0.3.0
Types ¶
type Hub ¶
type Hub struct { Broadcast chan []byte // contains filtered or unexported fields }
func (*Hub) SendErrorBytes ¶ added in v0.2.2
func (*Hub) SendReload ¶ added in v0.2.2
func (h *Hub) SendReload()
Click to show internal directories.
Click to hide internal directories.