Commit Graph

34 Commits

Author SHA1 Message Date
Barnabus 4f488aca55 Change the `doctype` to be lowercase to be consistent with the rest of the code base. (#1624) 2018-11-05 09:44:00 +08:00
Barnabus af23ac2256 Remove type attribute from HTML script tag to be consistent with the rest of the codebase. (#1623)
The `<script>` tag is used to define a client-side script (JavaScript).  The "type" attribute is required in HTML 4, but optional in HTML5.
2018-11-05 09:35:24 +08:00
Barnabus f83cdb357e Fix typos (#1625) 2018-11-05 09:13:17 +08:00
Barnabus 6be9b5437b Change HTML link tags to use HTML5 syntax. (#1621)
The `<link>` element is an empty element, it contains attributes only. In HTML5 the `<link>` tag has no end tag. In XHTML the `<link>` tag must be properly closed.
2018-11-01 21:48:26 +08:00
Barnabus 6f7fe487b3 Change HTML input tags to use HTML5 syntax. (#1617)
In XHTML, the <input> tag must be properly closed, like this `<input />`.  In HTML5 the `<input>` tag has no ending slash.  https://www.w3schools.com/tags/tag_input.asp
2018-11-01 16:05:40 +08:00
田欧 6db092f778 chore: add some annotations (#1550)
ref #1075 should all annotations and can close #1075 .
2018-09-15 15:21:54 +08:00
田欧 d510595aa5 chore: add some annotations (#1544)
ref: #1075 
because I am not a native English, maybe have a bit problem.
2018-09-15 10:23:32 +08:00
田欧 f45c928a15 chore: use http.Status* instead of hard code (#1482) 2018-08-14 09:51:56 +08:00
Boris Borshevsky 6f94fd05c9 Linting and optimizing struct memory signature. (#1184)
* fix cleanPath spell (#969)

* linter and optimize structs
2017-11-29 10:50:14 +08:00
田欧 0681715dda add Makefile for example (#951) 2017-06-15 20:07:42 -05:00
田欧 1a627c2449 fmt code style (#950) 2017-06-14 21:14:25 -05:00
Javier Provecho Fernandez 9e930b9bdd lint code 2016-04-15 01:16:46 +02:00
Brendan Fosberry 302cd99322 Fixing compile bug 2015-05-29 12:12:54 -05:00
Manu Mtz-Almeida 4797530476 Fixes example code 2015-05-26 12:15:43 +02:00
Manu Mtz-Almeida 05d01d2282 Restored old limits 2015-05-14 22:52:37 +02:00
Manu Mtz-Almeida e33ea855d7 Message for attackers 2015-05-14 22:49:42 +02:00
Manu Mtz-Almeida 3db1479acc More changes! 2015-05-14 20:52:45 +02:00
Manu Mtz-Almeida c3ecb91dbf Trying fmt 2015-05-14 20:50:06 +02:00
Manu Mtz-Almeida b0aa2e407c Testing.... 2015-05-14 20:46:57 +02:00
Manu Mtz-Almeida ef93e8beff More aggressive rate limit 2015-05-14 20:43:33 +02:00
Manu Mtz-Almeida 3f48e0d45c Adds rate limiting 2015-05-14 20:25:55 +02:00
Manu Mtz-Almeida eed6d93095 Better stats in realtime-advanced 2015-05-14 18:16:00 +02:00
Manu Mtz-Almeida 286d775de6 Updates realtime-advanced 2015-05-14 17:01:02 +02:00
Manu Mtz-Almeida 58ceb244e5 Serving on port 80 2015-05-14 04:43:39 +02:00
Manu Mtz-Almeida e7adcaf591 Cosmetic changes in realtime-advanced 2015-05-14 04:39:17 +02:00
Manu Mtz-Almeida a8b9e2d8d6 Updates realtime-advanced demo 2015-05-13 20:54:54 +02:00
Manu Mtz-Almeida 7149009a84 Fixed some bug in realtime-advanced demo 2015-05-13 17:34:42 +02:00
Manu Mtz-Almeida 1f11541011 Updates realtime-advanced demo 2015-05-13 16:44:44 +02:00
Manu Mtz-Almeida 9386d78673 Better rate limiting 2015-05-13 03:45:17 +02:00
Manu Mtz-Almeida 7e6153dc33 Middleware order changed 2015-05-13 03:36:32 +02:00
Manu Mtz-Almeida d05b31ed77 Reduced limit 2015-05-13 03:21:10 +02:00
Manu Mtz-Almeida 313d05ed68 Add rate limitting 2015-05-13 03:19:44 +02:00
Manu Mtz-Almeida 53d29b14f6 Using bar graph 2015-05-13 02:53:09 +02:00
Manu Mtz-Almeida 3fb8a25a21 Adds realtime-advanced demo 2015-05-13 02:35:16 +02:00