Manu Mtz-Almeida
|
72f200ac56
|
Adds StaticFile()
|
2015-05-21 16:59:58 +02:00 |
|
Manu Mtz-Almeida
|
66251d1741
|
Simplifies c.File()
|
2015-05-21 15:49:10 +02:00 |
|
Manu Mtz-Almeida
|
caa75c6201
|
Updates CHANGELOG
|
2015-05-20 13:15:49 +02:00 |
|
Manu Mtz-Almeida
|
393f723cd0
|
Merge branch 'develop' of https://github.com/zebozhuang/gin into develop
Conflicts:
gin.go
|
2015-05-20 11:41:46 +02:00 |
|
Manu Mtz-Almeida
|
c2abae6840
|
debugPrintRoute() is called in the lowest layer of abstraction
|
2015-05-20 11:32:39 +02:00 |
|
Manu Mtz-Almeida
|
138e4b49bf
|
Using WrapH() internally.
|
2015-05-20 11:30:22 +02:00 |
|
Manu Mtz-Almeida
|
825737a78c
|
Merge branch 'develop' of github.com:gin-gonic/gin into develop
|
2015-05-20 10:52:24 +02:00 |
|
Manu Mtz-Almeida
|
5d3fbc377c
|
Adds StaticFS(path, filesystem)
|
2015-05-20 10:50:59 +02:00 |
|
Manu Mtz-Almeida
|
874061e4d4
|
Updates godeps manifest
|
2015-05-20 03:28:51 +02:00 |
|
Manu Mtz-Almeida
|
c4914f0ff7
|
Adds WrapF() and WrapH()
|
2015-05-20 00:39:52 +02:00 |
|
Manu Mtz-Almeida
|
e59475c615
|
Drops LINK and UNLINK shortcuts
|
2015-05-20 00:32:06 +02:00 |
|
Manu Mtz-Almeida
|
022304e7d9
|
Better API for RouteGroup.Handle()
|
2015-05-19 23:22:35 +02:00 |
|
Manu Mtz-Almeida
|
53329e4646
|
Testing new Any routing.
|
2015-05-19 23:00:55 +02:00 |
|
Manu Mtz-Almeida
|
a91893d22b
|
Fixes auth test
|
2015-05-19 22:19:25 +02:00 |
|
Manu Mtz-Almeida
|
4f855faef2
|
Adds helper function. Wrap(http.HandlerFund) gin.HandlerFun
|
2015-05-19 22:18:58 +02:00 |
|
Manu Mtz-Almeida
|
f2ab821223
|
Dropping bsearch in BasicAuth()
|
2015-05-19 20:35:38 +02:00 |
|
Manu Mtz-Almeida
|
bb98ec0490
|
Cosmetic changes in auth.go
|
2015-05-19 20:20:52 +02:00 |
|
Manu Mtz-Almeida
|
81b08a554e
|
Fixes important bug in Basic Auth when using custom realm.
|
2015-05-19 20:15:28 +02:00 |
|
Manu Mtz-Almeida
|
0cb52ccef7
|
Improves unit test coverage
|
2015-05-19 02:29:32 +02:00 |
|
Manu Mtz-Almeida
|
36fb71ff2f
|
Updates README
|
2015-05-19 01:19:00 +02:00 |
|
Manu Mtz-Almeida
|
792316b2e4
|
Fixes .travis.yml
|
2015-05-19 01:14:42 +02:00 |
|
Manu Mtz-Almeida
|
ac2a29dd73
|
Testing coveralls
|
2015-05-19 01:00:17 +02:00 |
|
Manu Mtz-Almeida
|
acf0c2dbb0
|
Unit tests for errors.Errors()
|
2015-05-19 00:49:01 +02:00 |
|
Manu Mtz-Almeida
|
eb568d1a0c
|
Removes debug variables
|
2015-05-19 00:48:19 +02:00 |
|
Manu Mtz-Almeida
|
cd6e95f0e4
|
Unix sockets support
|
2015-05-19 00:45:08 +02:00 |
|
Manu Mtz-Almeida
|
f9952b0545
|
Experimenting with golang.org/x/net/context
|
2015-05-18 21:26:29 +02:00 |
|
Manu Mtz-Almeida
|
c467186d20
|
Renames Negotiate.HTMLPath to Negotiate.HTMLName
|
2015-05-18 20:52:26 +02:00 |
|
Manu Mtz-Almeida
|
6313545df7
|
Drops c.Return() API
|
2015-05-18 20:51:52 +02:00 |
|
Manu Mtz-Almeida
|
afb32ac6ac
|
Adds new unit test: static + middleware
|
2015-05-18 20:51:08 +02:00 |
|
Manu Mtz-Almeida
|
9ecb76ef6e
|
Cosmetic changes
|
2015-05-18 20:50:46 +02:00 |
|
Manu Mtz-Almeida
|
21b5154fd7
|
New rendering pipeline
|
2015-05-18 16:09:15 +02:00 |
|
Manu Mtz-Almeida
|
947b53d4a2
|
New Render API
|
2015-05-18 15:45:24 +02:00 |
|
Manu Mtz-Almeida
|
3066c35754
|
Renames RouterGroup.absolutePath to .BasePath
|
2015-05-16 18:08:19 +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
|
3948dac8c4
|
Cosmetic change in logger()
|
2015-05-14 04:38:33 +02:00 |
|
Manu Mtz-Almeida
|
51a64abe86
|
Setting "Cache-Control" to "no-cache" in SSE
|
2015-05-14 02:08:47 +02:00 |
|
Manu Mtz-Almeida
|
20213d6de3
|
Go 1.3 is not longer supported
|
2015-05-13 23:47:39 +02:00 |
|
Manu Mtz-Almeida
|
662a35d209
|
Using sse.ContentType instead of hardcoded one
|
2015-05-13 23:24:56 +02:00 |
|
Manu Mtz-Almeida
|
a8b9e2d8d6
|
Updates realtime-advanced demo
|
2015-05-13 20:54:54 +02:00 |
|
Manu Mtz-Almeida
|
b0af2b4c11
|
Using github.com/manucorporat/sse
|
2015-05-13 20:27:45 +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 |
|
Manu Mtz-Almeida
|
57f6940dba
|
Fixes JSON rendering
|
2015-05-13 02:34:46 +02:00 |
|
Manu Mtz-Almeida
|
15b0c49da5
|
Adds realtime-chat example code
|
2015-05-12 19:23:54 +02:00 |
|
Manu Mtz-Almeida
|
470b7e1010
|
Adds support for Server-Sent Events
|
2015-05-12 18:33:41 +02:00 |
|
Manu Mtz-Almeida
|
59c836e1fa
|
Only emit a warning is the status code changes
|
2015-05-12 18:31:31 +02:00 |
|
Manu Mtz-Almeida
|
99694bb716
|
Fixes errors
|
2015-05-12 15:22:13 +02:00 |
|
Manu Mtz-Almeida
|
421793bfba
|
Experiments: HTTP streaming render
|
2015-05-12 15:17:46 +02:00 |
|
Manu Mtz-Almeida
|
e1eb4a1c01
|
Updated CHANGELOG
|
2015-05-11 09:15:00 +02:00 |
|
Manu Mtz-Almeida
|
3df5dfdb7f
|
Faster IndentedJSON + unit tests
|
2015-05-11 01:04:08 +02:00 |
|
Manu Mtz-Almeida
|
a9dad532ae
|
Performance improvement in renders
|
2015-05-11 01:02:17 +02:00 |
|
Manu Mtz-Almeida
|
d6771dc4a5
|
Cosmetic changes
|
2015-05-09 03:35:31 +02:00 |
|
Manu Mtz-Almeida
|
b690611c38
|
Better debug logging + unit tests
|
2015-05-09 03:34:43 +02:00 |
|
Manu Mtz-Almeida
|
c391520654
|
More unit tests for Context .Set and .Get
|
2015-05-07 16:00:37 +02:00 |
|
Manu Mtz-Almeida
|
2d8f0a4801
|
Performance improvements when rendering
- Fast path for JSON, XML and plain text rendering
|
2015-05-07 12:44:52 +02:00 |
|
Manu Mtz-Almeida
|
eb3e9293ed
|
Renames []HandleFunc to HandlersChain
|
2015-05-07 11:30:01 +02:00 |
|
Manu Mtz-Almeida
|
79131ac84d
|
Tail call optimization
|
2015-05-07 11:28:25 +02:00 |
|
Manu Mtz-Almeida
|
f1a2b94b36
|
Merge branch 'develop' of github.com:gin-gonic/gin into develop
|
2015-05-06 22:31:19 +02:00 |
|
Manu Mtz-Almeida
|
495e6e116e
|
Adds IndentedJSON
|
2015-05-06 22:31:01 +02:00 |
|
Manu Mtz.-Almeida
|
7cd2f2694d
|
Merge pull request #275 from kanerogers/patch-1
Teeny tiny typo fix!
|
2015-05-06 18:20:26 +02:00 |
|
Manu Mtz-Almeida
|
f212ae7728
|
Updates tree.go + fixes + unit tests
|
2015-05-05 16:37:33 +02:00 |
|
Manu Mtz-Almeida
|
295201dad2
|
Adds wercker.yml
|
2015-05-05 15:19:19 +02:00 |
|
Manu Mtz-Almeida
|
f414648384
|
- More unit tests
- Improves HTML debug render
- InputHolder removed
- More debug logs
|
2015-05-05 15:06:38 +02:00 |
|
Manu Mtz-Almeida
|
0a192fb0fa
|
Tons of unit tests
|
2015-04-09 12:15:02 +02:00 |
|
Manu Mtz-Almeida
|
ac1ee3fb86
|
Adds unit tests for Utils
|
2015-04-08 15:32:50 +02:00 |
|
Manu Mtz-Almeida
|
c61c547539
|
More unit tests for ResponseWriter
|
2015-04-08 15:20:39 +02:00 |
|
Manu Mtz-Almeida
|
a28104fa21
|
Better unit tests for BasicAuth middleware
|
2015-04-08 15:17:41 +02:00 |
|
Manu Mtz-Almeida
|
4d315f474b
|
More unit tests
|
2015-04-08 14:24:49 +02:00 |
|
Manu Mtz-Almeida
|
8b26264574
|
Merge branch 'develop' into performance
Conflicts:
context.go
context_test.go
gin_test.go
recovery_test.go
utils.go
|
2015-04-08 13:37:25 +02:00 |
|
Manu Mtz-Almeida
|
54b3decc21
|
More unit tests
|
2015-04-08 13:30:17 +02:00 |
|
Manu Mtz-Almeida
|
ac0ad2fed8
|
Improves unit tests
|
2015-04-08 02:58:35 +02:00 |
|
Manu Mtz-Almeida
|
67f8f6bb69
|
Captures the path before any middleware modifies it
|
2015-04-07 23:49:53 +02:00 |
|
Manu Mtz-Almeida
|
9355274051
|
Updates godep
|
2015-04-07 23:34:55 +02:00 |
|
Manu Mtz-Almeida
|
873aecefa9
|
Renames DefaultLogFile to DefaultWriter
|
2015-04-07 23:34:16 +02:00 |
|
Manu Mtz-Almeida
|
5ee822fcee
|
Improves Context.Input
|
2015-04-07 23:28:49 +02:00 |
|
Manu Mtz-Almeida
|
1532be7c10
|
Context Accepted is an exported variable
|
2015-04-07 23:28:36 +02:00 |
|
Manu Mtz.-Almeida
|
408108f4e7
|
Merge pull request #254 from bfosberry/fixing-static-bug
Fixing bug with static pathing
|
2015-04-07 23:19:45 +02:00 |
|
Manu Mtz-Almeida
|
af4980ece2
|
Performance improvement in Auth middleware
|
2015-04-07 20:00:10 +02:00 |
|
Manu Mtz-Almeida
|
a4eadceb45
|
Merge branch 'develop' into performance
Conflicts:
binding/form_mapping.go
context_test.go
|
2015-04-07 19:59:43 +02:00 |
|
Manu Mtz-Almeida
|
d33079d0ec
|
Performance improvement when writing formatted strings
|
2015-04-07 19:54:17 +02:00 |
|
Manu Mtz-Almeida
|
3fce8efcc6
|
Renames LoggerInFile() to LoggerWithFile()
|
2015-04-07 18:56:17 +02:00 |
|
Manu Mtz-Almeida
|
dcdf7b92f4
|
Error middleware does not write if the it is already written
|
2015-04-07 18:52:33 +02:00 |
|
Manu Mtz-Almeida
|
598c78297c
|
NoWritten and DefaultStatus must be unexported variables
|
2015-04-07 18:50:16 +02:00 |
|
Manu Mtz-Almeida
|
6c788a4300
|
Adds default file log option
|
2015-04-07 18:37:17 +02:00 |
|