Skip to content

maniankara/gcpd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GCP/GCPD - A gRPC implementation of scp

A simple secure file copy implementation in gRPC.

CircleCI

How it works

GCPD

Reference/Summary of 4 types gRPC implementations

Proto Client side Server side
rpc FUNC(TYPE1) returns (TYPE2) {}; obvious obvious
rpc FUNC(stream TYPE1) returns (TYPE2) {}; stream.Recv() && stream.Send(TYPE1) &&
stream.SendAndClose(TYPE2) stream.CloseAndRecv()
rpc FUNC(TYPE1) returns (stream TYPE2) {}; stream.Send(TYPE2) stream.Recv() && EOF
rpc FUNC(stream TYPE1) returns (stream TYPE2) {}; stream.Recv() && EOF stream.Recv() && EOF &&
stream.Send(TYPE2) stream.Send(TYPE1) && stream.CloseSend()

About

A gRPC implementation of scp in golang

Resources

License

Stars

Watchers

Forks

Packages

No packages published