counter

package
v1.8.20230909 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2023 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TotalReadBytes uint64 = 0

TotalReadBytes is the total number of bytes read

View Source
var TotalWrittenBytes uint64 = 0

TotalWrittenBytes is the total number of bytes written

Functions

func Clean

func Clean()

Clean clean the counter

func IncrReadBytes

func IncrReadBytes(n int)

IncrReadBytes increments the number of bytes read

func IncrWrittenBytes

func IncrWrittenBytes(n int)

IncrWrittenBytes increments the number of bytes written

func PrintClientBytes

func PrintClientBytes() string

PrintClientBytes returns the bytes info on client side

func PrintServerBytes

func PrintServerBytes() string

PrintServerBytes returns the bytes info on server side

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL