pkg/tools/http: experimental implementation of http.Serve
This allows cue cmd to be used to serve requests. Our intention
is to ultimately replace cue cmd with something more principled.
This implementation allows us to get more experience with using
cue cmd for serving, so that we can make better design decisions.
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Change-Id: I5eb048cb3f303bdc631c4a16eb8ade211d4c45eb
Reviewed-on: https://cue.gerrithub.io/c/cue-lang/cue/+/1221921
Reviewed-by: Roger Peppe <rogpeppe@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>