add panic if internal watcher creation fails for gfsnotify; improve codes and change comment from chinese to english for gdb

This commit is contained in:
John
2020-02-10 20:37:53 +08:00
parent 784983806a
commit 88684ca00a
12 changed files with 344 additions and 188 deletions

View File

@ -11,7 +11,7 @@ import (
"io/ioutil"
)
// bodyReadCloser implements the io.ReadCloser interface
// BodyReadCloser implements the io.ReadCloser interface
// which is used for reading request body content multiple times.
type BodyReadCloser struct {
*bytes.Reader