mirror of
https://github.com/yunginnanet/Rate5
synced 2024-06-29 18:40:48 +00:00
Chore: tidy up
This commit is contained in:
parent
6fda390750
commit
0ed82d8936
@ -172,10 +172,6 @@ func (s *Speedometer) Close() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
/*func (s *Speedometer) IsSlow() bool {
|
||||
return s.internal.slow.Load()
|
||||
}*/
|
||||
|
||||
// Rate returns the bytes per second rate at which data is being written to the underlying writer.
|
||||
func (s *Speedometer) Rate() float64 {
|
||||
if s.internal.closed.Load() {
|
||||
|
Loading…
Reference in New Issue
Block a user