Commit Graph

24 Commits

Author SHA1 Message Date
田欧
7b508186dd style: remove optional return (#1036) 2017-07-19 14:49:18 +02:00
田欧
b539606eed use return not use else (#1028) 2017-07-17 19:54:38 -05:00
田欧
31ac11a298 update comment method (#977) 2017-07-05 04:37:24 -05:00
田欧
d535fcd598 separate type define (#975) 2017-07-05 02:47:36 -05:00
Javier Provecho Fernandez
89f0acc2f8 docs(auth): add missing logs for auth.go 2017-07-02 16:54:49 +02:00
Manu Mtz.-Almeida
d64a1fb91c Cosmetic changes 2016-01-28 00:35:09 +01:00
Manu Mtz-Almeida
8f3047814e Comments + IRoutes + IRouter + unexported AbortIndex 2015-07-02 20:24:54 +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
ac1ee3fb86 Adds unit tests for Utils 2015-04-08 15:32:50 +02:00
Manu Mtz-Almeida
a28104fa21 Better unit tests for BasicAuth middleware 2015-04-08 15:17:41 +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
ac0ad2fed8 Improves unit tests 2015-04-08 02:58:35 +02:00
Manu Mtz-Almeida
af4980ece2 Performance improvement in Auth middleware 2015-04-07 20:00:10 +02:00
Manu Mtz-Almeida
3e3ced70d4 Using log.Panic instead 2015-03-23 05:50:10 +01:00
Manu Mtz-Almeida
4103061a4a Refactores BasicAuth 2015-03-23 04:38:32 +01:00
Frank Bille
07c0d2e8fe Add customizable Realm for Basic authentication
Depending on the use case, it might be useful to be able to have different realms for different route groups.
2015-03-04 23:15:03 +01:00
Manu Mtz-Almeida
aa7b00a083 General refactoring. Part 2. 2014-10-09 01:40:42 +02:00
Manu Mtz-Almeida
8e5397bfa0 Adds in-code license 2014-08-29 19:49:50 +02:00
Manu Mtz-Almeida
2078ecd8e1 Renaming Context.Req to Context.Request 2014-07-08 16:57:04 +02:00
Manu Mtz-Almeida
661398ca53 Nicer BasicAuth API 2014-07-04 04:28:25 +02:00
Manu Mtz-Almeida
b0797e2bf9 Fixes Basic HTTP Authorization middleware 2014-07-01 22:58:29 +02:00
Manu Mtz-Almeida
15216a0883 Initial commit 2014-06-18 01:42:34 +02:00