Commit Graph

10 Commits

Author SHA1 Message Date
unknown 0647012449 Modify http status code to variable 2018-02-28 13:09:02 -08:00
Shrumit Mehta 9bc973af06 Change text/template to html/template in the examples
Change text/template to html/template in examples
2017-02-13 10:21:12 -08:00
Gary Burd 6b3d49710b Fix filewatch example
Use last modified time when the time is parsed without error. This prevents an
extra file read at start of watch for a connection.

Fixes #125.
2016-04-21 17:30:17 -07:00
Aaron France b98fe92f10 Typo fix 2014-05-10 14:30:27 +02:00
Gary Burd 15aed3b4a4 Relicense to the Gorilla WebSocket Authors. 2014-04-18 14:25:11 -07:00
Joachim Bauch 8827bd1a23 Moved Upgrader variable to package level. 2014-04-18 00:13:15 +02:00
Joachim Bauch b03dcbad2a Updated Origin check.
The host in the Origin header must match the host of the request by default.
2014-04-18 00:07:36 +02:00
Joachim Bauch 9474333b60 Use new Upgrader API in examples 2014-04-16 17:42:15 +02:00
Gary Burd 03206ef31e Various improvements to README files. 2014-03-20 13:26:28 -07:00
Gary Burd 05618edccc Add file watcher example. 2014-03-20 12:25:30 -07:00