paint-brush
How to Download Files Using Golang and gRPCby@aberenda
3,053 reads
3,053 reads

How to Download Files Using Golang and gRPC

by Andrei Berenda6mOctober 5th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The API is quite simple: "proto3"; "golang.org/grpc/metadata" It sends a file struct from the server to the client using Golang/gRPC API. We need to implement the server and the client we need to have API. In our API there is no file metadata: metadata will be in headers because we need it only once and headers are the best candidate for achieving this goal. The server implementation looks like this: server implementation; client implementation; server implementation.

Company Mentioned

Mention Thumbnail
featured image - How to Download Files Using Golang and gRPC
Andrei Berenda HackerNoon profile picture
Andrei Berenda

Andrei Berenda

@aberenda

I like programming

L O A D I N G
. . . comments & more!

About Author

Andrei Berenda HackerNoon profile picture
Andrei Berenda@aberenda
I like programming

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Coffee-web