Commit Graph

46 Commits

Author SHA1 Message Date
Kevin Franklin Kim
dd7764eb52 Merge branch 'main' into feature/example-auth 2026-03-03 17:41:41 +01:00
dependabot[bot]
801f7bf931 chore(deps): bump the updates group across 1 directory with 2 updates
Bumps the updates group with 2 updates in the / directory: [golang.org/x/mod](https://github.com/golang/mod) and [golang.org/x/tools](https://github.com/golang/tools).


Updates `golang.org/x/mod` from 0.29.0 to 0.30.0
- [Commits](https://github.com/golang/mod/compare/v0.29.0...v0.30.0)

Updates `golang.org/x/tools` from 0.38.0 to 0.39.0
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.38.0...v0.39.0)

---
updated-dependencies:
- dependency-name: golang.org/x/mod
  dependency-version: 0.30.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: updates
- dependency-name: golang.org/x/tools
  dependency-version: 0.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-10 15:15:03 +00:00
Kevin Franklin Kim
9535198175 revert: debug 2025-11-07 10:35:23 +01:00
Kevin Franklin Kim
aa5638fcfd fix: custom errors 2025-11-07 10:30:56 +01:00
Kevin Franklin Kim
3c7c56b2f0 fix: checks 2025-11-07 07:22:40 +01:00
Kevin Franklin Kim
79684387be feat: support ctx and errors through JSON 2025-11-07 07:14:04 +01:00
Kevin Franklin Kim
88c4293078 feat: codec 1.3.1 2025-11-05 11:40:00 +01:00
Uwe Quitter
5d68c02535 feat: Add authentication example demonstrating gotsrpc Context function
This example showcases gotsrpc's special Context function for centralized
authentication. The Context function handles all authentication logic,
keeping service methods clean and focused on business logic.

Key principle: Centralized authentication via Context function
- Context function validates Authorization header once
- Service methods remain clean without auth boilerplate
- Single point of authentication for entire service

Example includes:
- AuthService: Login/logout operations
- HelloService: Demonstrates Context function pattern
- Complete build system with Makefile
- TypeScript client with proper ES6 modules
- Comprehensive tests and documentation

Files: example/auth/ (complete authentication example)
2025-10-22 16:07:17 +02:00
Kevin Franklin Kim
e5408c57cf feat: update deps 2025-10-02 17:17:32 +02:00
Kevin Franklin Kim
4cff4e79ba chore: update lint config 2025-10-02 17:16:48 +02:00
Kevin Franklin Kim
00dfc6e1f2 fix: lint errors 2025-09-19 08:53:09 +02:00
Kevin Franklin Kim
29b313ea6f test: add types test 2025-09-18 23:22:52 +02:00
Kevin Franklin Kim
e0841a5713 feat: update deps 2025-09-18 23:22:38 +02:00
Kevin Franklin Kim
929756226a feat: use testing context 2025-09-18 23:21:44 +02:00
Kevin Franklin Kim
164ebf3a66 revert: debug 2025-03-07 15:16:36 +01:00
Kevin Franklin Kim
07c3475cc9 fix: add client error unwrap 2025-03-07 14:53:01 +01:00
Kevin Franklin Kim
0a3551cb98 fix: struct error 2025-03-06 16:08:43 +01:00
Kevin Franklin Kim
0737add060 fix: lint issues 2024-11-11 10:08:14 +01:00
Kevin Franklin Kim
8ee78429ae feat: bump typescript 2024-11-08 14:32:49 +01:00
Kevin Franklin Kim
82b98a0908 fix: module path 2024-11-08 14:24:06 +01:00
Kevin Franklin Kim
6a79ac8f38 fix: string union type 2024-11-08 14:22:22 +01:00
Kevin Franklin Kim
e5fdd2567f chore: update build 2024-03-19 13:52:06 +01:00
Kevin Franklin Kim
7184b4c9ef feat: bump dependencies and go 2024-03-19 13:19:59 +01:00
franklin
3d98c954bf feat: add error metric 2023-07-10 08:46:54 +02:00
franklin
9c57a510e1 fix: lint errors 2023-03-30 14:42:06 +02:00
franklin
4289052c8e fix: add arg 2022-11-29 14:17:38 +01:00
franklin
15aeb20538 fix: implement handler 2022-11-29 14:14:37 +01:00
franklin
ef0be4b5bc fix: collected nested types 2022-11-29 13:57:04 +01:00
Kevin Franklin Kim
5ea922d055 fix: fix lint errors 2022-08-17 08:48:21 +02:00
Kevin Franklin Kim
c19ce8f1d0 fix: lint errors 2022-08-17 07:49:52 +02:00
Kevin Franklin Kim
2ea115b1be feat: bump to go 1.19 2022-08-17 07:49:14 +02:00
Kevin Franklin Kim
195d85e505 fix: remove unsafe pointer 2022-07-18 16:08:20 +02:00
Kevin Franklin Kim
890d293450 fix: fix undefined vars 2022-05-04 12:09:52 +02:00
Kevin Franklin Kim
7faf7e4c98 feat: add monitor 2022-05-04 11:16:04 +02:00
Kevin Franklin Kim
f40bc1163c feat: fix lint errors 2022-03-29 16:39:47 +02:00
Kevin Franklin Kim
06abac95b2 feat: add code gen comment 2022-03-29 16:20:53 +02:00
Kevin Franklin Kim
9b56c5f7f3 feat: support time.Time 2022-03-29 14:49:59 +02:00
Kevin Franklin Kim
053a8980f6 revert: revert auto camelCase for ts types as requires custom json marshal 2022-03-08 12:02:09 +01:00
Kevin Franklin Kim
2c7ea1849b refactor: move custom tags to gotsrpc 2022-03-04 08:22:29 +01:00
Kevin Franklin Kim
3c097ca255 fix: handle string implementing error interface 2022-03-04 08:03:50 +01:00
Kevin Franklin Kim
9c5748892a feat: update examples 2022-03-03 07:46:55 +01:00
Kevin Franklin Kim
6950405308 feat: bump codec 2022-03-02 15:42:14 +01:00
Kevin Franklin Kim
b1eeafc427 feat: support union types 2022-03-02 15:18:09 +01:00
Kevin Franklin Kim
7473715a28 feat: print camelCase warning 2022-02-17 15:34:30 +01:00
Kevin Franklin Kim
094ce278f3 feat: auto use camelCase 2022-02-17 14:38:40 +01:00
Kevin Franklin Kim
7a72317fbe feat: replace examples 2022-02-17 14:22:15 +01:00