diff options
author | Andy Pan <panjf2000@gmail.com> | 2020-01-12 19:57:42 +0800 |
---|---|---|
committer | Erik Dubbelboer <erik@dubbelboer.com> | 2020-01-12 12:57:42 +0100 |
commit | 59b28fe0e54664073ac4e422511ca8af718b26b0 (patch) | |
tree | 0cd033c59367fd2829f3331fdd7ea8af9c49cf4a /fasthttputil | |
parent | Forward context in fasthttpadaptor (#720) (diff) | |
download | fasthttp-59b28fe0e54664073ac4e422511ca8af718b26b0.tar.gz fasthttp-59b28fe0e54664073ac4e422511ca8af718b26b0.tar.bz2 fasthttp-59b28fe0e54664073ac4e422511ca8af718b26b0.zip |
Resolve code issues from goreportcard.com (#725)
Diffstat (limited to 'fasthttputil')
-rw-r--r-- | fasthttputil/inmemory_listener.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fasthttputil/inmemory_listener.go b/fasthttputil/inmemory_listener.go index fd41fc8..9997d1c 100644 --- a/fasthttputil/inmemory_listener.go +++ b/fasthttputil/inmemory_listener.go @@ -6,6 +6,7 @@ import ( "sync" ) +// ErrInmemoryListenerClosed indicates that the InmemoryListener is already closed. var ErrInmemoryListenerClosed = errors.New("InmemoryListener is already closed: use of closed network connection") // InmemoryListener provides in-memory dialer<->net.Listener implementation. |