mackerelio/mackerel-agent — pull request #49 by Songmu (2014-12-22 01:55:01+00:00)
Title: Feature/refactor mainloop

`func loop()` is more and more complicated after #48 changes, so refactored.