921 B
921 B
Paasio
Write a program that reports network IO statistics
You are writing a PaaS, and you need a way to bill customers based on network and filesystem usage.
Create a wrapper for network connections and files that can report IO statistics. The wrapper must report:
- The total number of bytes read/written.
- The total number of read/write operations.
To run the tests simply run the command go test
in the exercise directory.
If the test suite contains benchmarks, you can run these with the -bench
flag:
go test -bench .
For more detailed info about the Go track see the help page.
Source
Brian Matsuo https://github.com/bmatsuo
Submitting Incomplete Problems
It's possible to submit an incomplete solution so you can see how others have completed the exercise.