Merge pull request #256 from mrd0ll4r/http-godoc-fix

http: fix godoc
This commit is contained in:
mrd0ll4r 2016-11-27 20:40:24 +00:00 committed by GitHub
commit 989cc4deba

View file

@ -71,7 +71,7 @@ func NewFrontend(logic frontend.TrackerLogic, cfg Config) *Frontend {
} }
} }
// Stop provides a thread-safe way to shutdown a currently running Tracker. // Stop provides a thread-safe way to shutdown a currently running Frontend.
func (t *Frontend) Stop() { func (t *Frontend) Stop() {
t.grace.Stop(t.grace.Timeout) t.grace.Stop(t.grace.Timeout)
<-t.grace.StopChan() <-t.grace.StopChan()