Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 693 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 693 Bytes

grpc-peer

Peer node implementation with Golang and gRPC.

  • Go1.19
  • gRPC

Role

package description
logger Print colorized message
model Define struct Peer, interface Dial
msg Code generated by protoc-gen-go-grpc
peer Implementation of Server and Client
main Make peers and run

Flow

  1. Client of SourcePeer runs MessageSend.
  2. MessageSend creates a new connection with DestinationPeer using its Port.
  3. MessageSend records the request to csv file.
  4. MessageSend returns a response.