Skip to content

boclair/sojern

Repository files navigation

sojern

Take home assignment for sojern problems 1 (semantic version) and 3 (/ping and /img webserver)

$ go test to run the unit tests for the semantic version code and the web server code

$ go build to build

$ ./web_server_and_version to run

  • Starts a webserver on localhost:8080

Once the web server is running, then use these commands to test it:

  • $ curl -v http://localhost:8080/ping (does not log)
  • $ curl -v http://localhost:8080/img (emits a log line)
  • $ touch /tmp/ok to create a the file that impacts /ping
  • $ rm /tmp/ok to remove...

About

Take home assignment for sojern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages