mirror of
https://github.com/sot-tech/mochi.git
synced 2026-05-13 13:58:36 -07:00
udp: Add comments to pass lint
This commit is contained in:
@@ -43,7 +43,7 @@ func (w *Writer) WriteAnnounce(res *models.AnnounceResponse) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// WriteAnnounce encodes a scrape response according to the UDP spec.
|
||||
// WriteScrape encodes a scrape response according to the UDP spec.
|
||||
func (w *Writer) WriteScrape(res *models.ScrapeResponse) error {
|
||||
w.writeHeader(2)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user