aboutsummaryrefslogtreecommitdiff
path: root/fasthttputil
diff options
context:
space:
mode:
authorGravatar xPushkin <pd.stroganov@gmail.com> 2017-10-08 13:30:35 +0100
committerGravatar xPushkin <pd.stroganov@gmail.com> 2017-10-08 13:30:35 +0100
commitf24d00fcc6f11f3a622727e6ff27cd42db765028 (patch)
tree300617ae18ca9c2e8d628dcab25c00a20fc460e8 /fasthttputil
parentMention that the body returned from Request.Body and Response.Body is valid u... (diff)
downloadfasthttp-f24d00fcc6f11f3a622727e6ff27cd42db765028.tar.gz
fasthttp-f24d00fcc6f11f3a622727e6ff27cd42db765028.tar.bz2
fasthttp-f24d00fcc6f11f3a622727e6ff27cd42db765028.zip
A lot of typo fixes
Diffstat (limited to 'fasthttputil')
-rw-r--r--fasthttputil/inmemory_listener.go2
-rw-r--r--fasthttputil/pipeconns.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/fasthttputil/inmemory_listener.go b/fasthttputil/inmemory_listener.go
index d6bcca4..80aca3f 100644
--- a/fasthttputil/inmemory_listener.go
+++ b/fasthttputil/inmemory_listener.go
@@ -8,7 +8,7 @@ import (
// InmemoryListener provides in-memory dialer<->net.Listener implementation.
//
-// It may be used either for fast in-process client<->server communcations
+// It may be used either for fast in-process client<->server communications
// without network stack overhead or for client<->server tests.
type InmemoryListener struct {
lock sync.Mutex
diff --git a/fasthttputil/pipeconns.go b/fasthttputil/pipeconns.go
index e5a0235..aa92b6f 100644
--- a/fasthttputil/pipeconns.go
+++ b/fasthttputil/pipeconns.go
@@ -8,7 +8,7 @@ import (
"time"
)
-// NewPipeConns returns new bi-directonal connection pipe.
+// NewPipeConns returns new bi-directional connection pipe.
func NewPipeConns() *PipeConns {
ch1 := make(chan *byteBuffer, 4)
ch2 := make(chan *byteBuffer, 4)