publisher.go: provide documentation
Merge pull request #8 from canaryio/document-publisher

publisher.go: provide documentation