feature: add optional context to handlers
feature: add optional context to handlers
af106acd3f
refactor: test: dynamic function handler
b88a4439c8
fixup: update comment for optional api.Ctx
e44dab4bc9
fixup: remove HasContext from spec
d6f8457274
feat: pass optional context argument to handlers
939ab2e57d
fixup: expose api context fields
0a55c2ee13
feat: add optional api.Ctx first argument to handler checker
24be7c294e
test: dynamic func input
f334d19ef4
feat: add api context type
feature: add context to handlers and middlewares
08b825b38f
Merge pull request 'feature: add http middleware capability' (#18) from feature/middleware into 0.3.0
a693bbbf9b
fix: reflect assign value to pointer of value in call argument
3986f7a022
fix: remove recoverer and body closer; must be users' responsability
14ae59561c
feat: encapsulate request handling into adapters
96164127e1
feat: add Use() method to add adapters to the aicra builder
feature: add http middleware capability
feature: add http middleware capability
a693bbbf9b
fix: reflect assign value to pointer of value in call argument
3986f7a022
fix: remove recoverer and body closer; must be users' responsability
14ae59561c
feat: encapsulate request handling into adapters
96164127e1
feat: add Use() method to add adapters to the aicra builder
87c15b91e5
feat: add middleware (Adapter) type
feature: add context to handlers and middlewares
5e5ca2d693
feat: add api context to handlers and add middlewares with Builder.With()
5730966d35
feat: add api context and middleware interface
f3127edde1
Merge pull request 'improvements, fixes, update to go 1.16' (#16) from refactor/go1.16 into 0.3.0
546130cfd0
update: readme
11aa9f0a0f
fix: global handler recoverer
468a09be8d
update: rename 'Server' into 'Handler'
10e59acdae
fix: test string-int concatenation warnings
improvements, fixes, update to go 1.16
WIP: test for go 1.16, fixes improvements and refactor
546130cfd0
update: readme
11aa9f0a0f
fix: global handler recoverer
468a09be8d
update: rename 'Server' into 'Handler'
10e59acdae
fix: test string-int concatenation warnings
334f1fba21
feat: add builder helpers Get(), Post(), Put(), Delete() that proxies to Bind()