chore: add comments to export functions

This commit is contained in:
nadoo committed 2020-11-06 22:47:33 +08:00
1 parent 417ac556f7
commit 8a2e95b17e
9 files changed
+33 -12

No files matched your search

+1
View File
@@ -73,6 +73,7 @@ func Relay(left, right net.Conn) error {
return nil
}
// Close closes the Conn.
func (c *Conn) Close() error {
pool.PutBufReader(c.r)
return c.Conn.Close()