Skip to content

toombs-caeman/go_practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goals

  1. Write 2 programs using "Go" language (golang.org)
    • one program listens to a network endpoint
    • the other sends some data there.
    • Data serialization format/mechanism is up to you.
  2. create a docker image for each program.
  3. test the 2 docker containers so that they talk to each other.
  4. test with 2-4 docker containers of the sender.

Usage

start with docker-compose up

view the log with tail -f log/event.log

Data format

Each sender will include an id and a randomly generated number, formatted as json.

The sender will send out an event randomly every <2 seconds

The receiver will log those along with a timestamp of when the log is received and append to a file.

About

golang practice for klarrio interview

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors