Commit Graph

4 Commits

Author SHA1 Message Date
Gibheer 8953b10faa define result as interface{}
This way we can easily reset the result after we hit an error, which
then omits the result.
2021-05-03 19:43:25 +02:00
Gibheer 979164f4d2 add functions to parse incoming request parameters
These helpers enable the parameter parsing into method specific structs.
As the parameter list is an array, the order of arguments is important.

Sadly type checks can be done at runtime, because all parameters are
converted to a list of interface{}. So if there is an error, it will
only result in an error at runtime, so be careful.
2021-04-22 08:33:32 +02:00
Gibheer bf0f3c5eac add transaction to context
This adds the transaction handling to the connection and context
handling.
It will raise an error and inform the client if anything is going wrong
with the transaction.
2021-04-21 21:50:46 +02:00
Gibheer 2ee6db04e5 initial release 2021-04-21 21:40:55 +02:00