1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 02:17:05 +00:00
Commit Graph

812 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos
da50af4ffd example for statsviz real-time monitor + ui 2022-03-02 06:29:56 +02:00
Gerasimos (Makis) Maropoulos
c7f90f7e65 add serve http/2 without tls example 2022-03-02 05:26:25 +02:00
Gerasimos (Makis) Maropoulos
43c85d0c85 statuses: sync with std package 2022-03-02 01:51:55 +02:00
Gerasimos (Makis) Maropoulos
a6f2bc7f24 update kataras/blocks dependency 2022-03-01 21:44:56 +02:00
Gerasimos (Makis) Maropoulos
61872a1612 Add Party.Container.SetDependencyMatcher, hero.Container.DependencyMatcher and hero.Dependency.Match to fullfil the feature request asked at: #1842 2022-03-01 21:26:02 +02:00
Gerasimos (Makis) Maropoulos
20fa672097 fix 2 minor issues 2022-02-26 21:16:08 +02:00
Gerasimos (Makis) Maropoulos
70a73ef80b publish v12.2.0-alpha7 version 2022-02-25 20:17:02 +02:00
Gerasimos (Makis) Maropoulos
37c766fef7 new x/errors package to handle HTTP wire errors 2022-02-24 23:49:46 +02:00
Gerasimos (Makis) Maropoulos
41026c9209 publish v12.2.0-alpha6 2022-02-18 22:19:33 +02:00
Gerasimos (Makis) Maropoulos
4899fe95f4 more improvements to the x/client new sub-package 2022-01-23 01:21:31 +02:00
Gerasimos (Makis) Maropoulos
f633ab4b99 new party controllers example 2022-01-08 19:54:33 +02:00
Gerasimos (Makis) Maropoulos
48577b7ff1 minor 2022-01-06 18:49:11 +02:00
Gerasimos (Makis) Maropoulos
d8dde0b958 add http timeout example 2022-01-04 23:06:39 +02:00
Gerasimos (Makis) Maropoulos
4aa93ae872 mysql example: security fix 2021-12-30 19:32:20 +02:00
Gerasimos (Makis) Maropoulos
226a4cb064 add one more project structure recommendation 2021-11-19 14:13:42 +02:00
Gerasimos (Makis) Maropoulos
485395190b update dependencies 2021-10-31 11:49:39 +02:00
Gerasimos (Makis) Maropoulos
bf54d33a3e add new ':email' path parameter and revert the jsoniter removal 2021-10-13 16:22:22 +03:00
Nanik T
928ec984f8 fix: add go.mod and go.sum to allow bootstrapper compiled indepedently 2021-07-31 12:16:35 +10:00
Gerasimos (Makis) Maropoulos
6d3884b0ce add iris.IsErrEmptyJSON helper. See HISTORY.md 2021-06-16 13:52:39 +03:00
Gerasimos (Makis) Maropoulos
ff58e0c049 minor fix on _examples/request-logger/accesslog-proxy 2021-06-15 00:49:42 +03:00
Gerasimos (Makis) Maropoulos
856f65be78 remove the 'retract' directive, as it's only available on the latest go release 2021-05-28 19:09:16 +03:00
Gerasimos (Makis) Maropoulos
ce6c455601 add Party.RemoveRoute method as requested in the community chat 2021-04-04 20:24:21 +03:00
yale8848
8f3e6f7bbf add CustomPathWordFunc 2021-03-14 20:58:10 +08:00
Gerasimos (Makis) Maropoulos
c1b31ab102 PartyConfigure: try to bind the struct's exported zero fields based on the registered dependencies (if any)
If the PartyConfigurator value accepts only static dependencies then we have zero performance penalty, exactly like a Controller (structure) works
2021-02-21 22:24:01 +02:00
Gerasimos (Makis) Maropoulos
6587b387b6 remove travis 2021-02-19 09:41:24 +02:00
Gerasimos (Makis) Maropoulos
0081171aa6 minor 2021-02-19 09:06:22 +02:00
Gerasimos (Makis) Maropoulos
1243150690 let's see 2021-02-19 08:49:15 +02:00
Gerasimos (Makis) Maropoulos
b80bd10903 upgrade dependencies 2021-02-19 08:05:13 +02:00
Gerasimos (Makis) Maropoulos
e901575ca8 Path type parameter error handler: add the parameter index in the input arguments
see previous commit
2021-02-15 11:30:29 +02:00
Gerasimos (Makis) Maropoulos
5990e7f432 NEW (HOT) FEATURE: Add custom error handlers on path type parameters error 2021-02-14 15:31:27 +02:00
Gerasimos (Makis) Maropoulos
567c06702f respect the iris.WithEmptyFormError option on Context.ReadQuery too
as requested at: #1727
2021-02-14 13:40:56 +02:00
Gerasimos (Makis) Maropoulos
d26b9bfbed Add Strict option to httptest as requested at: #1722 2021-02-13 21:21:19 +02:00
Gerasimos (Makis) Maropoulos
5fe233278a add a new 'uuid' path parameter type e.g. /{id:uuid} 2021-02-12 17:12:23 +02:00
Gerasimos (Makis) Maropoulos
ed33a77019 upgrade jet parser to version 6 as requested
relative to: https://github.com/kataras/iris/issues/1723
2021-02-07 02:08:34 +02:00
Gerasimos (Makis) Maropoulos
5994fd5d4e New iris.WithKeepAlive(time.Duration) Configurator is added as a helper to enable TCP listener featured with keep-alive 2021-01-31 21:24:15 +02:00
Gerasimos (Makis) Maropoulos
61f04ee4ff examples: minor (see previous commits)
examples: 3rd-party sse (2):  add the same client-side as the original 3rd-party example
2021-01-27 04:51:53 +02:00
Gerasimos (Makis) Maropoulos
bccd5eb388 examples: server-sent events: add a second 3rd-party pkg usage example 2021-01-27 04:32:52 +02:00
Gerasimos (Makis) Maropoulos
f7757c0793 fix https://github.com/kataras/iris/issues/1713 and add a simple usage example of the 'RemoveHandler' 2021-01-27 01:22:20 +02:00
Gerasimos (Makis) Maropoulos
197df1ef64 minor (see previous commit) 2021-01-24 23:49:37 +02:00
Gerasimos (Makis) Maropoulos
53b3ade7e0 New feature: Context.ReadJSONStream 2021-01-24 23:34:01 +02:00
Gerasimos (Makis) Maropoulos
435f284815 New feature: Fallback views. Read HISTORY.md 2021-01-24 14:08:37 +02:00
Gerasimos (Makis) Maropoulos
6c823e4864 Add example for #1706 (we already cover that functionality through the rest of the examples, but make it clear for newcomers that, dependencies can be used for that kind of reasons as well) 2021-01-21 05:57:37 +02:00
Gerasimos (Makis) Maropoulos
21eee99970 thanks @rsousacode and @carlos-enginner for your donations ❤️
please check your GitHub notifications, you've been invited to the iris-premium repository
2021-01-10 11:51:49 +02:00
Gerasimos (Makis) Maropoulos
8aedf6bc32 :) 2021-01-09 05:41:20 +02:00
Gerasimos (Makis) Maropoulos
cd1f82a08f minor: fix: examples/mvc/error-handler-preflight: pr #1696
[fix _examples] response.timestamp not appear in correct request.
2021-01-09 03:35:33 +02:00
Gerasimos (Makis) Maropoulos
541fa75caf minor (see previous commit) 2021-01-07 05:36:56 +02:00
Gerasimos (Makis) Maropoulos
240fdb6dc3 API versioning improvements
Replace the go-version package with a regex-free alternative semver

the result: versioned apis have almost zero performance cost now

thanks @motogo for your kind donation ❤️ - please check your github notifications
2021-01-07 04:14:41 +02:00
yanghuiwen
eb64006fcb remove unnecessary code 2021-01-06 12:13:30 +08:00
Gerasimos (Makis) Maropoulos
b409f7807e New feature: versioning.Aliases
Thanks @mulyawansentosa and @remopavithran for your donates ❤️
2021-01-06 01:52:39 +02:00
Gerasimos (Makis) Maropoulos
7aa2d1f9d5 make versioning.Group a Party compatible by using a type alias on its embedded field
was reported as missing of the a Party method, the type alias is a good hack to solve that
2021-01-05 18:16:32 +02:00