rename ClientConn.OnFrame into ReadFrames

This commit is contained in:
aler9
2020-12-08 21:18:52 +01:00
parent c7f6d77392
commit 081e28ee38
7 changed files with 17 additions and 17 deletions

View File

@@ -130,7 +130,7 @@ outer:
done <- errRet
}
// Read starts reading requests and frames from the connection.
// Read starts reading requests and frames.
// it returns a channel that is written when the reading stops.
func (sc *ServerConn) Read(
onRequest func(req *base.Request) (*base.Response, error),