1
0
Fork 0

Rename the non-exposed field "count" to "size"

This commit is contained in:
Sylvain Rabot 2020-01-07 20:00:05 +01:00 committed by Traefiker Bot
parent da3d814c8b
commit 377c219fd9
3 changed files with 7 additions and 4 deletions

View file

@ -3,8 +3,10 @@ package accesslog
import "io"
type captureRequestReader struct {
// source ReadCloser from where the request body is read.
source io.ReadCloser
count int64
// count Counts the number of bytes read (when captureRequestReader.Read is called).
count int64
}
func (r *captureRequestReader) Read(p []byte) (int, error) {