Commit Graph

29 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
7e11032042 Add a simple pprof middleware for newcomers
Former-commit-id: f533df7e84b7e174d4cb861ff50d81772550feb0
2017-03-05 03:36:00 +02:00
Gerasimos (Makis) Maropoulos
57aea4aa75 Move the kataras/go-serializer into one iris' file.
Start organising the kataras/go-*package which are relative to the Iris
project. The kataras/go-*package will be exists and their features will
be adapted to Iris every 2 months, as we say at readme, iris-relative
packages should be tested for a long time before adapted to Iris.

With this way we have stability, code readability(the developer can
easly navigate to iris' code without need to move across different
kataras/ projects).


Former-commit-id: db291faaf59d4f53f14ce5800fde805f56c8b802
2017-03-01 15:04:42 +02:00
Gerasimos (Makis) Maropoulos
064282036c Helpers for third-party adaptors and middleware authors to generate route paths without even know the router that has being selected by user
Former-commit-id: b21147f2bc306d5c41539a1be0c83456c3d62651
2017-02-28 15:01:18 +02:00
Gerasimos (Makis) Maropoulos
b214df742b Nothing special: when iris.DevLogger() used then group logs based on time.
Former-commit-id: 921e2d5baabd3d299f4a719ef0a0abd924bc3bc9
2017-02-28 05:37:53 +02:00
Gerasimos (Makis) Maropoulos
31b804d90b Replace websocket->Values() with ->SetValue/GetValue instead.
Former-commit-id: fe7fa1a40123b34ec864732ddfee796574cefa72
2017-02-25 20:25:22 +02:00
Gerasimos (Makis) Maropoulos
4e1d64c5c0 Websocket additions
Former-commit-id: 662bdd01a7cd403d1f7b8f0d17bed16ed1f06562
2017-02-22 20:32:38 +02:00
Gerasimos (Makis) Maropoulos
4de98254fd (silly) Fix https://github.com/kataras/iris/issues/633
Former-commit-id: 0359fbf7dd3ff151db7b0575510e611bed683d0e
2017-02-22 16:38:55 +02:00
Gerasimos (Makis) Maropoulos
42cf24fda2 Add a simple and pure .Regex middleware for routers that don't support regex route path validations out-of-the-box
Former-commit-id: 84cf1fb267e54543ad6d419b2ca39658b2773b58
2017-02-22 00:51:50 +02:00
Gerasimos (Makis) Maropoulos
b25d99870e Implement the Status Method Not Allowed for gorilla mux too and add some tests
Former-commit-id: b157bacfa15567b8c98f959f3359e025fdf1b205
2017-02-21 14:20:31 +02:00
Gerasimos (Makis) Maropoulos
5872eb1b12 Add tests for RedirectTo, Sessions, Flash messages and for Cookies.
Former-commit-id: 5a631c366c4caf1d45c532dc5363459cb595f067
2017-02-19 10:23:01 +02:00
Gerasimos (Makis) Maropoulos
f9b2b8aa69 Add a TestRedirectHTTP/HTTPS
Former-commit-id: 0739e0cb4dc15c317b66b8da812cbd83fa0ea32f
2017-02-19 09:45:05 +02:00
Gerasimos (Makis) Maropoulos
003a54560a Add more tests. GopherBOOk for new Go developers, +1 new example every day!
Former-commit-id: 13a9f8cb4792d7e16f41792f9d8b1b5109aca926
2017-02-18 16:23:17 +02:00
Gerasimos (Makis) Maropoulos
5f8a29168e https://github.com/kataras/iris/issues/610
Former-commit-id: 03173f54c8b7b2ad389487435c1daf9e4f741639
2017-02-18 11:14:24 +02:00
Gerasimos (Makis) Maropoulos
9597fab37c Add error message when reverse routing using gorillamux happens before boot
Former-commit-id: 96dd812a16338824474ba1be0db18c486b2ebc0d
2017-02-18 08:18:09 +02:00
Gerasimos (Makis) Maropoulos
e4079e4c67 Fix .Path(...)/.Url(...) and {{url ...}}/{{ urlpath ...} on httprouter Adaptor. https://github.com/kataras/iris/issues/606
Former-commit-id: f5cb496ee151a7a85361f6ed5eeb2a8231eb2fff
2017-02-18 08:03:14 +02:00
Gerasimos (Makis) Maropoulos
f83c7fb4e7 Fix history big mistakes, point links to /v6 tag only https://github.com/kataras/iris/issues/606
Former-commit-id: e0a7ce1a991e5d6600de6cc0a853ef8b1cb8d282
2017-02-18 07:22:57 +02:00
Gerasimos (Makis) Maropoulos
7263649002 Make ExecRouteAgainst to work better and fix gorillamux and httprouter, remove of contextlinker policy it's useless now
Former-commit-id: 8d3501e6c490d630d3a4bec0c077dcd7d532242f
2017-02-18 07:03:37 +02:00
Gerasimos (Makis) Maropoulos
5c318dfce6 misspell fix
Former-commit-id: a6e81fd308a1f741c16d24793778d4046a172b35
2017-02-17 10:49:28 +02:00
Gerasimos (Makis) Maropoulos
9a3c4f4c0a Add an example for httprouter_test, gofmt everything and misspel fixes.
Former-commit-id: e69ffdf9bba4c7e8c3df45c015b3363cc3fc59b6
2017-02-17 10:45:47 +02:00
Gerasimos (Makis) Maropoulos
d33371f393 Adapt the httprouter on cors adaptor example
Former-commit-id: 3abd819fc519faac55322d210a42c4d230bb46d5
2017-02-17 08:25:25 +02:00
Gerasimos (Makis) Maropoulos
74872c62c7 Add an example for the cors adaptor (router wrapper)
Former-commit-id: dbd0866a65f680b4d871768053fc42a795b03a62
2017-02-17 08:05:12 +02:00
Gerasimos (Makis) Maropoulos
30f9bd364e Fix comment on wss example
Former-commit-id: 0dbc0c9f88ae7cd28df7ba764e76fce48b5eaaf2
2017-02-17 07:20:24 +02:00
Gerasimos (Makis) Maropoulos
e52a062ff5 wss example
Former-commit-id: fb1aad51214981533565129b784e6ab88c6a7a1a
2017-02-17 07:19:53 +02:00
Gerasimos (Makis) Maropoulos
48b470f5da Add HTTP/2 Example and Websocket wss:// too in the same time :)
Former-commit-id: fd4c12043d6ed739770236e014ccd2f0f4f5a84c
2017-02-17 06:49:54 +02:00
Gerasimos (Makis) Maropoulos
57e5b77853 add white box tests for transaction, response writer and some of the context's method
Former-commit-id: 67ea92337f120f03e8bb96d3daa43529b10af2f2
2017-02-17 02:14:46 +02:00
Gerasimos (Makis) Maropoulos
13e83fc57e SessionsPolicy and sessions adaptor, history and _example written.
Former-commit-id: e8b0dde3cb3b72919f01b9d836d8ccb3d4e20214
2017-02-15 20:06:19 +02:00
Gerasimos (Makis) Maropoulos
82afcc5aa6 Implement the websocket adaptor, a version of kataras/go-websocket, and refactor all of the previous websocket examples.
https://github.com/kataras/go-websocket/issues/27

Former-commit-id: 0b7e52e0a61150a8bba973ef653986d8b3ddd26b
2017-02-15 08:40:43 +02:00
Gerasimos (Makis) Maropoulos
d2aee5e187 Add an example for gorillamux adaptor. Ref: https://github.com/kataras/iris/issues/588
Former-commit-id: ac5a00ca031950c103764fbb9ea2c3fa498252cb
2017-02-14 06:43:54 +02:00
Gerasimos (Makis) Maropoulos
244a59e055 20 days of unstoppable work. Waiting fo go 1.8, I didn't finish yet, some touches remains.
Former-commit-id: ed84f99c89f43fe5e980a8e6d0ee22c186f0e1b9
2017-02-14 05:54:11 +02:00