remove unused GetBytesSent function from flow controller

This commit is contained in:
Marten Seemann
2017-02-08 10:39:16 +07:00
parent 7ce7203f16
commit 1aaf049a11
3 changed files with 0 additions and 20 deletions

View File

@@ -66,10 +66,6 @@ func (c *flowController) AddBytesSent(n protocol.ByteCount) {
c.bytesSent += n
}
func (c *flowController) GetBytesSent() protocol.ByteCount {
return c.bytesSent
}
// UpdateSendWindow should be called after receiving a WindowUpdateFrame
// it returns true if the window was actually updated
func (c *flowController) UpdateSendWindow(newOffset protocol.ByteCount) bool {