That's interesting. I'm looking to do something similar, but need wire compatibility with postgresql. This allows any postgres client to talk to our service. Didn't have a lot of luck finding a good "middleware"
turbot compiles their steampipe plugins in this way. Example: https://github.com/turbot/steampipe-plugin-net