Commit Graph

60 Commits

Author SHA1 Message Date
dependabot[bot]
b7de0b4ca3
Bump golang.org/x/net from 0.4.0 to 0.7.0 in /_examples/logging/rollbar (#2078)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-19 21:14:09 +02:00
dependabot[bot]
e94e36de4e
Bump golang.org/x/net (#2065)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-19 21:11:36 +02:00
Gerasimos (Makis) Maropoulos
196063d4db
_examples: update modules 2022-12-26 23:26:47 +02:00
Gerasimos (Makis) Maropoulos
8b0ae8ca83
push v12.2.0-beta6 2022-10-23 05:06:07 +03:00
Gerasimos (Makis) Maropoulos
33778387a4
add accesslog slack example to the examples folder 2022-10-17 22:45:47 +03:00
Gerasimos (Makis) Maropoulos
6e82b40c2e
_examples: minor 2022-07-21 13:40:20 +03:00
Gerasimos (Makis) Maropoulos
94540fa664
_examples: minor 2022-07-19 23:22:51 +03:00
Gerasimos (Makis) Maropoulos
ef2643b046
replace ioutil with io package and other minor improvements 2022-06-17 22:03:18 +03:00
Kane
1b22fb2eba
lestrrat-go -> iproj (#1908)
There're some bugs in lestrrat-go
Detail:  https://github.com/iproj/file-rotatelogs/issues/1
2022-06-17 10:23:51 +03:00
Gerasimos (Makis) Maropoulos
41026c9209
publish v12.2.0-alpha6 2022-02-18 22:19:33 +02:00
Gerasimos (Makis) Maropoulos
485395190b
update dependencies 2021-10-31 11:49:39 +02: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
0081171aa6
minor 2021-02-19 09:06:22 +02:00
Gerasimos (Makis) Maropoulos
7f523d52e1
thank you @dtrifonov for your donation ❤️ 2020-11-06 14:19:53 +02:00
Gerasimos (Makis) Maropoulos
1864f99145
New JWT features and changes (examples updated). Improvements on the Context User and Private Error features
TODO: Write the new e-book JWT section and the HISTORY entry of the chnages and  add a simple example on site docs
2020-10-17 06:40:17 +03:00
Gerasimos (Makis) Maropoulos
a04a6b5011
add accesslog+proxy example 2020-09-19 17:47:44 +03:00
Gerasimos (Makis) Maropoulos
7fa2666f58
add accesslog+MVC example 2020-09-17 18:01:35 +03:00
Gerasimos (Makis) Maropoulos
373b8993ad
add viper configuration example and minor improvements - read HISTORY.md 2020-09-16 12:59:51 +03:00
Gerasimos (Makis) Maropoulos
701713efdb
accesslog: add Truncate method as requested at #1631 2020-09-14 12:15:08 +03:00
Gerasimos (Makis) Maropoulos
54a095c23f
Add example for custom fast Accesslog Formatter 2020-09-14 02:35:01 +03:00
Gerasimos (Makis) Maropoulos
a917ef68fc
v12.2.0-alpha 2020-09-13 19:18:57 +03:00
Gerasimos (Makis) Maropoulos
7431fcc9cf
more tiny improvements 2020-09-13 14:28:05 +03:00
Gerasimos (Makis) Maropoulos
4845b77177
accesslog: improvements and new features
relative to: #1601 and #1624
2020-09-13 02:56:22 +03:00
Gerasimos (Makis) Maropoulos
7d5789c3de
add an accesslog simple example 2020-09-12 13:45:00 +03:00
Gerasimos (Makis) Maropoulos
2b342a5122
accesslog: add CSV format
relative to: https://github.com/kataras/iris/issues/1601
2020-09-12 12:34:59 +03:00
Gerasimos (Makis) Maropoulos
a30bbb61f7
accesslog: export the delimeter used on default formatter and improve its performance
relative to: #1601 and #1622
2020-09-11 23:22:18 +03:00
Gerasimos (Makis) Maropoulos
e63d1041d2
accesslog: add IP in builtin fields, change the format a bit. Default func: remove compression middleware, force-set debug log level, replace the old request logger with the accesslog one, use request id middlewareand keep recovery 2020-09-11 09:38:55 +03:00
Gerasimos (Makis) Maropoulos
0f5ec75d54
accesslog: Timestamp to unix milliseconds instead of seconds
relative to https://github.com/kataras/iris/issues/1601#issuecomment-690868305
2020-09-11 07:51:24 +03:00
Gerasimos (Makis) Maropoulos
16a794a245
acesslog new example: custom fields and custom template 2020-09-10 21:40:30 +03:00
Gerasimos (Makis) Maropoulos
2bb04823b0
recover, accesslog middlewares: give more information to the stored error, accesslog: make use of that information and introduce panic log levels
relative to: https://github.com/kataras/iris/issues/1601#issuecomment-690541789
2020-09-10 21:03:34 +03:00
Gerasimos (Makis) Maropoulos
facc94b725
accesslog: improvements 2020-09-10 19:41:30 +03:00
Gerasimos (Makis) Maropoulos
ae67987f55
accesslog: log error bodies and communicate with the recover middleware 2020-09-10 14:47:14 +03:00
Gerasimos (Makis) Maropoulos
777ef0cd3e
i18n: expose the LoaderConfig from the main i18n instance and add an example
Signed-off-by: Gerasimos (Makis) Maropoulos <kataras2006@hotmail.com>
2020-09-10 05:17:03 +03:00
Gerasimos (Makis) Maropoulos
b77227a0f9
accesslog: NEW log broker and many more features
some fixes about context clone, fix response recorder concurrent access, fix reload views with only ParseTemplate and more
2020-09-09 14:43:26 +03:00
Gerasimos (Makis) Maropoulos
fb7627256a
minor 2020-09-09 08:39:23 +03:00
Gerasimos (Makis) Maropoulos
d17a888dc1
example: minor 2020-09-09 08:37:26 +03:00
Gerasimos (Makis) Maropoulos
61a9eff43e
accesslog middleware: more examples and usecase, e.g. log latency per handler and sessions values or authentication
relative to: #1601
2020-09-09 08:21:10 +03:00
Gerasimos (Makis) Maropoulos
d6867e1f9e
accesslog middleware: add total bytes received and sent
relative to: https://github.com/kataras/iris/issues/1601
2020-09-08 13:44:50 +03:00
Gerasimos (Makis) Maropoulos
dac834cf11
new accesslog middleware: require the writer inside its constructor so we can 'detect' if we must force-lock a writer
relative to: https://github.com/kataras/iris/issues/1601
2020-09-07 18:04:35 +03:00
Gerasimos (Makis) Maropoulos
e96a009d3f
accesslog: LockWriter (to lock unprotected writers) and Clock (for testing)
relative to: https://github.com/kataras/iris/issues/1601
2020-09-07 16:31:43 +03:00
Gerasimos (Makis) Maropoulos
b063fbf3c8
minor (see previous commit) 2020-09-07 11:53:16 +03:00
Gerasimos (Makis) Maropoulos
07806ba270
more improvements to the new accesslog middleware: ability to add custom fields and change the order on the printable result
relative to: https://github.com/kataras/iris/issues/1601
2020-09-07 11:35:27 +03:00
Gerasimos (Makis) Maropoulos
4dca8f6088
improvements on the new accesslog middleware
relative to: https://github.com/kataras/iris/issues/1601
2020-09-07 06:12:45 +03:00
Gerasimos (Makis) Maropoulos
0ef064cc55
update golog dependency 2020-09-07 01:08:19 +03:00
Gerasimos (Makis) Maropoulos
618afd97f7
minor 2020-09-06 13:13:48 +03:00
Gerasimos (Makis) Maropoulos
26f515775b
examples: use the new golog.JSON, comment the manual way for general purpose knowedge that can be used to create a handler for any other custom format 2020-09-06 13:12:54 +03:00
Gerasimos (Makis) Maropoulos
0be856e54c
add accesslog middleware (rel: #1601) 2020-09-06 10:38:48 +03:00
Gerasimos (Makis) Maropoulos
bf9f7617e2
examples: update go.mod (see previous commit) 2020-09-05 08:56:01 +03:00
Gerasimos (Makis) Maropoulos
9c56ed6261
examples: minor: update go mod master version 2020-08-26 19:37:14 +03:00