Compare commits

...

75 Commits
v3.8.2 ... v3

Author SHA1 Message Date
08389ffa3a update for latest micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-04-23 11:22:40 +03:00
08a832569a
Merge pull request #97 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.42
Bump go.unistack.org/micro/v3 from 3.10.40 to 3.10.42
2024-03-05 03:08:02 +03:00
dependabot[bot]
81c7d9cc9a
Bump go.unistack.org/micro/v3 from 3.10.40 to 3.10.42
Bumps go.unistack.org/micro/v3 from 3.10.40 to 3.10.42.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-05 00:06:12 +00:00
4ba456d7a7
Merge pull request #96 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.40
Bump go.unistack.org/micro/v3 from 3.10.39 to 3.10.40
2024-02-29 03:31:54 +03:00
dependabot[bot]
6f18745792
Bump go.unistack.org/micro/v3 from 3.10.39 to 3.10.40
Bumps go.unistack.org/micro/v3 from 3.10.39 to 3.10.40.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-29 00:29:58 +00:00
3e7795a981
Merge pull request #95 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.39
Bump go.unistack.org/micro/v3 from 3.10.38 to 3.10.39
2024-02-23 03:46:12 +03:00
dependabot[bot]
382cd1db32
Bump go.unistack.org/micro/v3 from 3.10.38 to 3.10.39
Bumps go.unistack.org/micro/v3 from 3.10.38 to 3.10.39.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-23 00:44:21 +00:00
129b680834
Merge pull request #93 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.38
Bump go.unistack.org/micro/v3 from 3.10.36 to 3.10.38
2024-02-09 03:49:01 +03:00
dependabot[bot]
62f3faecaa
Bump go.unistack.org/micro/v3 from 3.10.36 to 3.10.38
Bumps go.unistack.org/micro/v3 from 3.10.36 to 3.10.38.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-09 00:47:08 +00:00
b469fa26bd
Merge pull request #91 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.36
Bump go.unistack.org/micro/v3 from 3.10.35 to 3.10.36
2024-01-15 03:48:37 +03:00
dependabot[bot]
5127f912dc
Bump go.unistack.org/micro/v3 from 3.10.35 to 3.10.36
Bumps go.unistack.org/micro/v3 from 3.10.35 to 3.10.36.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 00:46:50 +00:00
eda442b1ab
Merge pull request #90 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.35
Bump go.unistack.org/micro/v3 from 3.10.32 to 3.10.35
2023-12-21 03:40:37 +03:00
dependabot[bot]
d5cc390c17
Bump go.unistack.org/micro/v3 from 3.10.32 to 3.10.35
Bumps go.unistack.org/micro/v3 from 3.10.32 to 3.10.35.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-21 00:38:44 +00:00
e348a6e9fb
Merge pull request #87 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.32
Bump go.unistack.org/micro/v3 from 3.10.31 to 3.10.32
2023-11-14 03:52:10 +03:00
dependabot[bot]
5d349e196d
Bump go.unistack.org/micro/v3 from 3.10.31 to 3.10.32
Bumps go.unistack.org/micro/v3 from 3.10.31 to 3.10.32.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-14 00:48:57 +00:00
80e8f68a9f
Merge pull request #86 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.31
Bump go.unistack.org/micro/v3 from 3.10.29 to 3.10.31
2023-11-02 03:31:53 +03:00
dependabot[bot]
9926bd992b
Bump go.unistack.org/micro/v3 from 3.10.29 to 3.10.31
Bumps go.unistack.org/micro/v3 from 3.10.29 to 3.10.31.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-02 00:29:16 +00:00
cbe4fb2f02
Merge pull request #85 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.29
Bump go.unistack.org/micro/v3 from 3.10.28 to 3.10.29
2023-10-26 03:40:29 +03:00
dependabot[bot]
9854bf456a
Bump go.unistack.org/micro/v3 from 3.10.28 to 3.10.29
Bumps go.unistack.org/micro/v3 from 3.10.28 to 3.10.29.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 00:37:07 +00:00
d40008c676
Merge pull request #84 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.28
Bump go.unistack.org/micro/v3 from 3.10.27 to 3.10.28
2023-09-11 03:05:06 +03:00
dependabot[bot]
da6221e3b7
Bump go.unistack.org/micro/v3 from 3.10.27 to 3.10.28
Bumps go.unistack.org/micro/v3 from 3.10.27 to 3.10.28.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 00:03:02 +00:00
ac4aab65fb
Merge pull request #82 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.27
Bump go.unistack.org/micro/v3 from 3.10.25 to 3.10.27
2023-09-04 03:42:36 +03:00
dependabot[bot]
65b5fd8342
Bump go.unistack.org/micro/v3 from 3.10.25 to 3.10.27
Bumps go.unistack.org/micro/v3 from 3.10.25 to 3.10.27.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 00:39:34 +00:00
763b119289
Merge pull request #80 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.25
Bump go.unistack.org/micro/v3 from 3.10.24 to 3.10.25
2023-08-08 03:36:36 +03:00
dependabot[bot]
619d4ebb99
Bump go.unistack.org/micro/v3 from 3.10.24 to 3.10.25
Bumps go.unistack.org/micro/v3 from 3.10.24 to 3.10.25.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-08 00:34:18 +00:00
39b8f0a01d
Merge pull request #79 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.24
Bump go.unistack.org/micro/v3 from 3.10.23 to 3.10.24
2023-07-14 03:43:48 +03:00
dependabot[bot]
ec40a36254
Bump go.unistack.org/micro/v3 from 3.10.23 to 3.10.24
Bumps go.unistack.org/micro/v3 from 3.10.23 to 3.10.24.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-14 00:42:22 +00:00
0fabb2c777
Merge pull request #78 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.23
Bump go.unistack.org/micro/v3 from 3.10.22 to 3.10.23
2023-07-04 03:25:27 +03:00
dependabot[bot]
39ed1ba5b2
Bump go.unistack.org/micro/v3 from 3.10.22 to 3.10.23
Bumps go.unistack.org/micro/v3 from 3.10.22 to 3.10.23.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-04 00:24:10 +00:00
5cb43f196b
Merge pull request #74 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.22
Bump go.unistack.org/micro/v3 from 3.10.21 to 3.10.22
2023-05-30 03:59:34 +03:00
dependabot[bot]
99b6a44134
Bump go.unistack.org/micro/v3 from 3.10.21 to 3.10.22
Bumps go.unistack.org/micro/v3 from 3.10.21 to 3.10.22.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-30 00:58:11 +00:00
ee5f59121b
Merge pull request #73 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.21
Bump go.unistack.org/micro/v3 from 3.10.20 to 3.10.21
2023-05-29 04:28:34 +03:00
dependabot[bot]
5ecfb46d14
Bump go.unistack.org/micro/v3 from 3.10.20 to 3.10.21
Bumps go.unistack.org/micro/v3 from 3.10.20 to 3.10.21.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 01:26:20 +00:00
9c76e6a498
Merge pull request #72 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.20
Bump go.unistack.org/micro/v3 from 3.10.19 to 3.10.20
2023-05-26 03:59:58 +03:00
dependabot[bot]
57a0f75e22
Bump go.unistack.org/micro/v3 from 3.10.19 to 3.10.20
Bumps go.unistack.org/micro/v3 from 3.10.19 to 3.10.20.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-26 00:58:17 +00:00
e376188d06
Merge pull request #68 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.19
Bump go.unistack.org/micro/v3 from 3.10.18 to 3.10.19
2023-04-03 04:21:16 +03:00
dependabot[bot]
7d8fa279fa
Bump go.unistack.org/micro/v3 from 3.10.18 to 3.10.19
Bumps go.unistack.org/micro/v3 from 3.10.18 to 3.10.19.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-03 01:19:30 +00:00
c6b165fc27
Merge pull request #67 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.18
Bump go.unistack.org/micro/v3 from 3.10.17 to 3.10.18
2023-03-17 04:00:27 +03:00
dependabot[bot]
cefd04c64c
Bump go.unistack.org/micro/v3 from 3.10.17 to 3.10.18
Bumps go.unistack.org/micro/v3 from 3.10.17 to 3.10.18.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-17 00:59:01 +00:00
c716595b1c
Merge pull request #66 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.17
Bump go.unistack.org/micro/v3 from 3.10.16 to 3.10.17
2023-03-16 04:00:46 +03:00
dependabot[bot]
5b78e842e4
Bump go.unistack.org/micro/v3 from 3.10.16 to 3.10.17
Bumps go.unistack.org/micro/v3 from 3.10.16 to 3.10.17.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-16 00:59:17 +00:00
69ac0c5bc0
Merge pull request #64 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.16
Bump go.unistack.org/micro/v3 from 3.10.14 to 3.10.16
2023-03-15 04:00:25 +03:00
dependabot[bot]
c78998d57c
Bump go.unistack.org/micro/v3 from 3.10.14 to 3.10.16
Bumps go.unistack.org/micro/v3 from 3.10.14 to 3.10.16.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 00:58:57 +00:00
53310928ad
Merge pull request #63 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.14
Bump go.unistack.org/micro/v3 from 3.10.13 to 3.10.14
2023-02-27 04:49:01 +03:00
dependabot[bot]
d2252ccede
Bump go.unistack.org/micro/v3 from 3.10.13 to 3.10.14
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.10.13 to 3.10.14.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.10.13...v3.10.14)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 01:47:55 +00:00
38e78fbde9
Merge pull request #62 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.13
Bump go.unistack.org/micro/v3 from 3.10.11 to 3.10.13
2023-02-22 03:29:52 +03:00
dependabot[bot]
6748f177a3
Bump go.unistack.org/micro/v3 from 3.10.11 to 3.10.13
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.10.11 to 3.10.13.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.10.11...v3.10.13)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-22 00:28:00 +00:00
971d9a46a3
Merge pull request #61 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.11
Bump go.unistack.org/micro/v3 from 3.10.9 to 3.10.11
2023-02-14 04:00:26 +03:00
dependabot[bot]
ee9a96f2f6
Bump go.unistack.org/micro/v3 from 3.10.9 to 3.10.11
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.10.9 to 3.10.11.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.10.9...v3.10.11)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 00:58:54 +00:00
737ff8146a
Merge pull request #60 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.9
Bump go.unistack.org/micro/v3 from 3.10.8 to 3.10.9
2023-02-09 03:05:59 +03:00
dependabot[bot]
e70b60ddee
Bump go.unistack.org/micro/v3 from 3.10.8 to 3.10.9
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.10.8 to 3.10.9.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.10.8...v3.10.9)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-09 00:04:04 +00:00
dc391902e9
Merge pull request #59 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.8
Bump go.unistack.org/micro/v3 from 3.10.7 to 3.10.8
2023-02-08 03:05:51 +03:00
dependabot[bot]
c3f4cf564c
Bump go.unistack.org/micro/v3 from 3.10.7 to 3.10.8
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.10.7 to 3.10.8.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.10.7...v3.10.8)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 00:04:05 +00:00
9859c80c5b
Merge pull request #58 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.7
Bump go.unistack.org/micro/v3 from 3.10.5 to 3.10.7
2023-02-07 03:04:47 +03:00
dependabot[bot]
130aa5fe61
Bump go.unistack.org/micro/v3 from 3.10.5 to 3.10.7
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.10.5 to 3.10.7.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.10.5...v3.10.7)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 00:03:22 +00:00
dependabot[bot]
269e8208df
Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 (#56)
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.3.5 to 1.3.6.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v1.3.5...v1.3.6)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 21:20:50 +03:00
ce5de2809c
Merge pull request #57 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.5
Bump go.unistack.org/micro/v3 from 3.10.4 to 3.10.5
2023-01-30 03:49:43 +03:00
dependabot[bot]
d881112f30
Bump go.unistack.org/micro/v3 from 3.10.4 to 3.10.5
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.10.4 to 3.10.5.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.10.4...v3.10.5)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 00:47:54 +00:00
dependabot[bot]
6616a1c448
Bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 (#55)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.3.1...v3.4.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-24 09:54:25 +03:00
982d1013b0
Merge pull request #54 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.4
Bump go.unistack.org/micro/v3 from 3.10.3 to 3.10.4
2023-01-19 03:09:47 +03:00
dependabot[bot]
7b5e5505d0
Bump go.unistack.org/micro/v3 from 3.10.3 to 3.10.4
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.10.3 to 3.10.4.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.10.3...v3.10.4)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-19 00:08:04 +00:00
648bd8bd73
Merge pull request #53 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.3
Bump go.unistack.org/micro/v3 from 3.10.0 to 3.10.3
2023-01-18 03:09:57 +03:00
dependabot[bot]
f839ee7e79
Bump go.unistack.org/micro/v3 from 3.10.0 to 3.10.3
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.10.0 to 3.10.3.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.10.0...v3.10.3)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 00:08:22 +00:00
93c4f593a3
Merge pull request #52 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.0
Bump go.unistack.org/micro/v3 from 3.9.18 to 3.10.0
2023-01-09 04:02:13 +03:00
dependabot[bot]
2fe3bafe88
Bump go.unistack.org/micro/v3 from 3.9.18 to 3.10.0
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.9.18 to 3.10.0.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.9.18...v3.10.0)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 01:00:48 +00:00
3b50129b45
Merge pull request #51 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.9.18
Bump go.unistack.org/micro/v3 from 3.9.17 to 3.9.18
2022-12-28 03:16:22 +03:00
dependabot[bot]
1ce984d8da
Bump go.unistack.org/micro/v3 from 3.9.17 to 3.9.18
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.9.17 to 3.9.18.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.9.17...v3.9.18)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-28 00:14:52 +00:00
3da2958c4b
Merge pull request #50 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.9.17
Bump go.unistack.org/micro/v3 from 3.9.15 to 3.9.17
2022-12-26 04:03:38 +03:00
dependabot[bot]
c5968ca6a2
Bump go.unistack.org/micro/v3 from 3.9.15 to 3.9.17
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.9.15 to 3.9.17.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.9.15...v3.9.17)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-26 01:02:02 +00:00
7f631a4f3d
Merge pull request #49 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.9.15
Bump go.unistack.org/micro/v3 from 3.9.14 to 3.9.15
2022-11-29 03:16:34 +03:00
dependabot[bot]
0a9274c9a3
Bump go.unistack.org/micro/v3 from 3.9.14 to 3.9.15
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.9.14 to 3.9.15.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.9.14...v3.9.15)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-29 00:14:29 +00:00
3c91b24896
Merge pull request #48 from unistack-org/simplify
add options
2022-11-28 12:31:51 +03:00
a89f1830a4 add options
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-11-28 12:29:53 +03:00
0f99bba64f
Merge pull request #47 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.9.14
Bump go.unistack.org/micro/v3 from 3.9.13 to 3.9.14
2022-11-28 04:01:22 +03:00
dependabot[bot]
cca6260434
Bump go.unistack.org/micro/v3 from 3.9.13 to 3.9.14
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.9.13 to 3.9.14.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.9.13...v3.9.14)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-28 00:59:38 +00:00
6 changed files with 2529 additions and 129 deletions

View File

@ -34,7 +34,7 @@ jobs:
- name: checkout - name: checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: lint - name: lint
uses: golangci/golangci-lint-action@v3.3.1 uses: golangci/golangci-lint-action@v3.4.0
continue-on-error: true continue-on-error: true
with: with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.

View File

@ -15,7 +15,7 @@ jobs:
steps: steps:
- name: metadata - name: metadata
id: metadata id: metadata
uses: dependabot/fetch-metadata@v1.3.5 uses: dependabot/fetch-metadata@v1.3.6
with: with:
github-token: "${{ secrets.TOKEN }}" github-token: "${{ secrets.TOKEN }}"
- name: merge - name: merge

View File

@ -34,7 +34,7 @@ jobs:
- name: checkout - name: checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: lint - name: lint
uses: golangci/golangci-lint-action@v3.3.1 uses: golangci/golangci-lint-action@v3.4.0
continue-on-error: true continue-on-error: true
with: with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.

7
go.mod
View File

@ -2,4 +2,9 @@ module go.unistack.org/micro-wrapper-recovery/v3
go 1.16 go 1.16
require go.unistack.org/micro/v3 v3.9.13 require (
go.unistack.org/micro/v3 v3.10.66
golang.org/x/sys v0.19.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240415180920-8c6c420018be // indirect
google.golang.org/grpc v1.63.2 // indirect
)

2493
go.sum

File diff suppressed because it is too large Load Diff

View File

@ -1,29 +1,63 @@
package recovery // import "go.unistack.org/micro-wrapper-recovery/v3" package recovery
import ( import (
"context" "context"
"fmt" "fmt"
"go.unistack.org/micro/v3/errors"
"go.unistack.org/micro/v3/server" "go.unistack.org/micro/v3/server"
) )
type wrapper struct { func NewOptions(opts ...Option) Options {
serverHandlerFunc func(context.Context, server.Request, interface{}, error) error options := Options{
serverSubscriberFunc func(context.Context, server.Message, error) error ServerHandlerFn: DefaultServerHandlerFn,
/* ServerSubscriberFn: DefaultServerSubscriberFn,
clientCallFunc func(context.Context, string, client.Request, interface{}, client.CallOptions, error) error
clientClient func(client.Client, error) error
*/
}
func NewServerHandlerWrapper(fn func(context.Context, server.Request, interface{}, error) error) server.HandlerWrapper {
handler := &wrapper{
serverHandlerFunc: fn,
} }
return handler.HandlerFunc for _, o := range opts {
o(&options)
}
return options
} }
func (w *wrapper) HandlerFunc(fn server.HandlerFunc) server.HandlerFunc { type Options struct {
ServerHandlerFn func(context.Context, server.Request, interface{}, error) error
ServerSubscriberFn func(context.Context, server.Message, error) error
}
type Option func(*Options)
func ServerHandlerFunc(fn func(context.Context, server.Request, interface{}, error) error) Option {
return func(o *Options) {
o.ServerHandlerFn = fn
}
}
func ServerSubscriberFunc(fn func(context.Context, server.Message, error) error) Option {
return func(o *Options) {
o.ServerSubscriberFn = fn
}
}
var (
DefaultServerHandlerFn = func(ctx context.Context, req server.Request, rsp interface{}, err error) error {
return errors.BadRequest("", "%v", err)
}
DefaultServerSubscriberFn = func(ctx context.Context, req server.Message, err error) error {
return errors.BadRequest("", "%v", err)
}
)
var Hook = NewHook()
type hook struct {
opts Options
}
func NewHook(opts ...Option) *hook {
return &hook{opts: NewOptions(opts...)}
}
func (w *hook) ServerHandler(next server.FuncHandler) server.FuncHandler {
return func(ctx context.Context, req server.Request, rsp interface{}) (err error) { return func(ctx context.Context, req server.Request, rsp interface{}) (err error) {
defer func() { defer func() {
r := recover() r := recover()
@ -31,24 +65,17 @@ func (w *wrapper) HandlerFunc(fn server.HandlerFunc) server.HandlerFunc {
case nil: case nil:
return return
case error: case error:
err = w.serverHandlerFunc(ctx, req, rsp, verr) err = w.opts.ServerHandlerFn(ctx, req, rsp, verr)
default: default:
err = w.serverHandlerFunc(ctx, req, rsp, fmt.Errorf("%v", r)) err = w.opts.ServerHandlerFn(ctx, req, rsp, fmt.Errorf("%v", r))
} }
}() }()
err = fn(ctx, req, rsp) err = next(ctx, req, rsp)
return err return err
} }
} }
func NewServerSubscriberWrapper(fn func(context.Context, server.Message, error) error) server.SubscriberWrapper { func (w *hook) ServerSubscriber(next server.FuncSubHandler) server.FuncSubHandler {
handler := &wrapper{
serverSubscriberFunc: fn,
}
return handler.SubscriberFunc
}
func (w *wrapper) SubscriberFunc(fn server.SubscriberFunc) server.SubscriberFunc {
return func(ctx context.Context, msg server.Message) (err error) { return func(ctx context.Context, msg server.Message) (err error) {
defer func() { defer func() {
r := recover() r := recover()
@ -56,79 +83,12 @@ func (w *wrapper) SubscriberFunc(fn server.SubscriberFunc) server.SubscriberFunc
case nil: case nil:
return return
case error: case error:
err = w.serverSubscriberFunc(ctx, msg, verr) err = w.opts.ServerSubscriberFn(ctx, msg, verr)
default: default:
err = w.serverSubscriberFunc(ctx, msg, fmt.Errorf("%v", r)) err = w.opts.ServerSubscriberFn(ctx, msg, fmt.Errorf("%v", r))
} }
}() }()
err = fn(ctx, msg) err = next(ctx, msg)
return err return err
} }
} }
/*
func NewClientWrapper() client.Wrapper {
return func(c client.Client) client.Client {
handler := &wrapper{
clientClient: c,
}
return handler
}
}
func NewCallWrapper() client.CallWrapper {
return func(fn client.CallFunc) client.CallFunc {
handler := &wrapper{
clientCallFunc: fn,
}
return handler.CallFunc
}
}
func (w *wrapper) CallFunc(ctx context.Context, addr string, req client.Request, rsp interface{}, opts client.CallOptions) (err error) {
defer func() {
r := recover()
switch verr := r.(type) {
case nil:
return
case error:
err = w.clientCallFunc(ctx, addr, req, rsp, opts, verr)
default:
err = w.clientCallFunc(ctx, addr, req, rsp, opts, fmt.Errorf("%v", r))
}
}()
err = w.CallFunc(ctx, addr, req, rsp, opts)
return err
}
func (w *wrapper) Call(ctx context.Context, req client.Request, rsp interface{}, opts ...client.CallOption) error {
defer func() {
r := recover()
switch verr := r.(type) {
case nil:
return
case error:
err = w.clientClient.Call(ctx, addr, req, rsp, opts, verr)
default:
err = w.clientClient.Call(ctx, addr, req, rsp, opts, fmt.Errorf("%v", r))
}
}()
err = w.clientClient.Call(ctx, req, rsp, opts...)
return err
}
func (w *wrapper) Stream(ctx context.Context, req client.Request, opts ...client.CallOption) (client.Stream, error) {
stream, err := w.Client.Stream(ctx, req, opts...)
return stream, err
}
func (w *wrapper) Publish(ctx context.Context, p client.Message, opts ...client.PublishOption) error {
err := w.Client.Publish(ctx, p, opts...)
return err
}
*/