Adrien Marquès
b0e25b431c
ToHTTPServer now returns the exported field http.Handler instead of an unexported type
2020-04-04 10:39:02 +02:00
Adrien Marquès
8a0a20294c
rename output fields to original name (not rename)
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
2020-03-29 17:01:24 +02:00
Adrien Marquès
d7acf771ad
implement the dynamic handler : fill input struct, do the call, fill return struct
2020-03-29 17:01:02 +02:00
Adrien Marquès
af09466013
migrate api.response to const errors; make HandlerFn return an api.Error; rename http HandlFunc to Handle;
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
2020-03-28 14:57:28 +01:00
Adrien Marquès
d57f60c710
set content-type to json before writing response
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
2020-03-22 14:05:47 +01:00
Adrien Marquès
ad6de97979
fix: actually get service handler
2020-03-22 14:05:32 +01:00
Adrien Marquès
d6c22b5ff0
adapt server to previous api changes
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
2020-03-21 14:49:36 +01:00
Adrien Marquès
1225e3b1f2
refactor server handler, rename for readability
2020-03-08 16:26:56 +01:00
Adrien Marquès
acfbee3894
add startup logs
...
Log aicra configuration 'METHOD /PATH' when creating the instance
Log mapped handlers before starting listening
To know when we start listening (was transparently handled by http.ListenAndServer) ; added a wrapper around 'Server' (i.e. httpServer) that fulfills the http.Server interface
2019-09-26 19:03:37 +02:00