Categorygithub.com/DurgeshBabal/TCP-Messaging
module
0.0.0-20210208213501-6bb110023417
Repository: https://github.com/durgeshbabal/tcp-messaging.git
Documentation: pkg.go.dev

# README

TCP-Messaging

Implements a basic tcp messaging system with one server and multiple clients

Time Taken

  • Preliminary Reading (2 hrs)
  • Implementation (11 hrs)

Note

  • All commands are delimited by '~'
  • Development branch was not used since it was not required here
  • golangci-lint has been used and run though no .yml file has been attached
  • Run a server with go run server/server.go
  • Run a client with go run client/client.go
  • Use the clientID displayed with ClientList operation as the target value in ForwardMessage operation

Sample Operations

  • {"operation":"ClientList"}~

  • {"operation":"ForwardMessage","value":"Sending some data","target":"1"}~

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author