Gerasimos (Makis) Maropoulos
c3205dafa1
New DirOptions.Cache field for in-memory caching and pre-compression for the fastest possible static file server
...
Read HISTORY.md it contains a breaking change, second parameter of HandleDir should be iris.Dir(...) instead of just a string
relative to: https://github.com/kataras/iris/issues/1556#issuecomment-661057446
Former-commit-id: 14b48a06fb3b99287dff543932be2937a64233b9
2020-07-24 13:03:49 +03:00
Gerasimos (Makis) Maropoulos
0f113dfcda
( #1554 ) Add support for all common compressions (write and read)
...
- Remove the context.Context interface and export the *context, the iris.Context now points to the pointer\nSupport compression and rate limiting in the FileServer\nBit of code organisation
Former-commit-id: ad1c61bf968059510c6be9e7f2cceec7da70ba17
2020-07-10 23:21:09 +03:00
Gerasimos (Makis) Maropoulos
cc19f80049
update some examples
...
Former-commit-id: 2ed7c323dd379eb68d5ccb2044cd9cc772ce0b08
2020-05-05 22:03:01 +03:00
Gerasimos (Makis) Maropoulos
c3543528cf
fix: https://github.com/kataras/i18n/issues/1
...
Former-commit-id: 12b75f1e54ebf3d7f78a09b8d5594859a344422d
2020-04-30 16:16:43 +03:00
Gerasimos (Makis) Maropoulos
0d26f24eb7
examples: replace all app.Run(iris.Addr(...)) with app.Listen just for the shake of simplicity, both are doing the same exact thing as it's described on the http listening first example.
...
Former-commit-id: d20afb2e899aee658a8e0ed1693357798df93462
2020-03-05 22:41:27 +02:00
Gerasimos (Makis) Maropoulos
75dd5b759f
_examples/file-server update to test a party of file server
...
Former-commit-id: 2137bd00d256d57058bedd3b4a5868427cbdc64a
2019-11-13 19:14:56 +02:00
Gerasimos (Makis) Maropoulos
3945fa68d1
obey the vote of @1370 (77-111 at this point) - add import suffix on iris repository
...
We have to do the same on iris-contrib/examples, iris-contrib/middleware and e.t.c.
Former-commit-id: 0860688158f374bc137bc934b81b26dcd0e10964
2019-10-25 01:27:02 +03:00
Gerasimos (Makis) Maropoulos
5c91440e46
remove any reference to the pre go1.9 context.Context and replace with iris.Context on some places that were forgotten
...
got an email feedback about this
Former-commit-id: b1caa261a0d425d8db2091bffb8cfd6065c4e1fa
2019-08-11 15:43:47 +03:00
Gerasimos (Makis) Maropoulos
d0104defa8
create the new FileServer and HandleDir, deprecate the rest APIBuilder/Party static methods and more
...
relative: https://github.com/kataras/iris/issues/1283 and removing pongo2 from vendor: https://github.com/kataras/iris/issues/1284
Former-commit-id: 3ec57b349f99faca2b8e36d9f7252db0b6ea080d
2019-06-21 19:43:25 +03:00
kataras
e00cf383a2
Vol2 : https://github.com/kataras/iris/issues/717 , worked
...
Former-commit-id: f4a19eb83a28279782b8a75ee298b38c9e180157
2017-08-12 08:49:00 +03:00
kataras
9f85b74fc9
Add notes for the new lead maintainer of the open-source iris project and align with @get-ion/ion by @hiveminded
...
Former-commit-id: da4f38eb9034daa49446df3ee529423b98f9b331
2017-07-10 18:32:42 +03:00