I don't know what the standard way is, but I do something similar
using a grpc stream. You have to deal with breaking the data into
chunks and stream to the grpc server.
You could implement a client-side streaming API to receive the file
via grpc on the receiving side, implement a Write([]byte) method on
the sending side with chunking etc. and use copy().
>
> -Ram
>
> --
> You received this message because you are subscribed to the Google Groups "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
golang-nuts...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/903ac408-ff6c-4c0b-a4f7-801d4d6f7110%40googlegroups.com.