wetware / pkg

Peer-to-peer cloud environment
https://wetware.run
Other
38 stars 7 forks source link

Refactor server and client packages. #160

Closed lthibault closed 1 year ago

lthibault commented 1 year ago

This is a major refactor of the client and server code that aims to simplify set-up of application code. Along the way, it introduces a server.Vat type, which satisfies rpc.Network, which will provide 3PH when that is implemented upstream.

I recommend starting with cmd/start/start.go and then looking at the other commands under cmd.

@mikelsr This PR temporarily removes some of the capabilities that you're currently using, and I will re-introduce these in the coming days. Is it okay if I merge this in the meantime?