Rename the non-exposed field "count" to "size"
This commit is contained in:
parent
da3d814c8b
commit
377c219fd9
3 changed files with 7 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue