Commit 3c501e1
fix: GA v1 Go SDK (#90)
* Simplify middleware implementation, inspired by net/http
* Panic on resource creation or permission requests that fail - these errors are typically unrecoverable
* Allow handler parameters to accept interface{} allowing for more handler func type flexibilty
* Add sql database resource support
* Remove requirement to return Ctx from handlers (pointers are used instead for Ctx modification)
* Update product structure, moving all resources to their own packages
* Use a single grpc connection to nitric server for efficiency
* Make the handlers and workers packages internal to avoid auto-complete pollution in IDEs
* Panic if nitric.Run() fails
---------
Co-authored-by: Jye Cusch <jye.cusch@nitric.io>
Co-authored-by: Ryan Cartwright <fryzee.cartwright@gmail.com>1 parent 39332d4 commit 3c501e1
File tree
106 files changed
+2606
-5470
lines changed- api
- keyvalue
- queues
- secrets
- storage
- topics
- constants
- handler
- internal
- grpc
- handlers
- mocks/mockapi
- nitric
- apis
- errors
- codes
- keyvalue
- queues
- resource
- schedules
- secrets
- sql
- storage
- topics
- websockets
- workers
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
106 files changed
+2606
-5470
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | 3 | | |
7 | 4 | | |
8 | 5 | | |
| |||
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 52 | | |
58 | 53 | | |
59 | 54 | | |
60 | 55 | | |
61 | | - | |
| 56 | + | |
62 | 57 | | |
63 | 58 | | |
64 | 59 | | |
65 | 60 | | |
66 | | - | |
| 61 | + | |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments