In this example but with hclient.Post(addr, 'application/x-mpegURL', bytes.NewReader([]byte("Hello, world!"))), any ideas on how I could throttle the upload speed (in bytes)?
e.g. the first URL should be allow a max rate of 100Kbps, while all the URLs after only get 10Kbps.
https://github.com/lucas-clemente/quic-go/blob/master/example/client/main.go#L85-L106
My guess is that I can throttle the reader, but unsure if this is the best approach.