20 Commits

Author SHA1 Message Date
91908f15e7 Adds NewRouter 2015-08-26 14:08:18 +02:00
f64f225b18 Adds NewJWT 2015-08-26 14:08:02 +02:00
336987e806 Adds a jwt middleware
It is not certain that it is final, as the jwt is just an interface{}
2015-08-18 19:46:15 +02:00
26b7356b79 Adds more unit testing
Some basic security check for tempering of JWS.
2015-08-18 19:45:41 +02:00
abe3cbab1f Adds unit testing for jws 2015-08-18 18:34:23 +02:00
00c5853b45 Adds JWS encode and decode
It also adds interfaces Signer and HS256 and RS256 implementation.
2015-08-18 16:11:56 +02:00
4eb3bdaa13 Adds an internal library for JWS / JWT encoding 2015-08-17 13:51:27 +02:00
dc107d934d Lints error_formatter.go 2015-08-13 12:05:01 +02:00
4785e489d5 Adds recovery test 2015-08-13 10:43:01 +02:00
5a9b19fcb1 Removes unuseful stub code 2015-08-13 10:17:20 +02:00
8dccf95fe3 Adds basic makefile 2015-08-13 10:15:49 +02:00
bf5ba9a46f Finihes Unit testing 2015-08-13 10:11:08 +02:00
5ef16a7afc Adds basic unit testing 2015-08-12 20:06:01 +02:00
9a123c9281 Adds error formatting 2015-08-12 19:23:53 +02:00
e71418fa92 Adds static fileserver middleware 2015-08-12 16:31:28 +02:00
8d3675fcfb Adds recovery middleware 2015-08-12 16:31:14 +02:00
4d26150fb0 Better logging 2015-08-12 16:26:03 +02:00
1e43741da2 Adds a logger 2015-08-12 14:01:50 +02:00
273f2410fa Adds a custom, type safe ResponseWriter 2015-08-12 14:01:24 +02:00
67e8fbfac3 Adds a README 2015-08-12 14:01:01 +02:00