Unverified Commit 0659b79f authored by Xin.Zh's avatar Xin.Zh Committed by GitHub

Merge pull request #23 from mfslog/master

fix:修正注释中的单词错误
parents 293a60d4 0c477835
...@@ -100,7 +100,7 @@ const ( ...@@ -100,7 +100,7 @@ const (
) )
///////////////////////////////////////// /////////////////////////////////////////
// connection interfacke // connection interface
///////////////////////////////////////// /////////////////////////////////////////
type Connection interface { type Connection interface {
...@@ -129,7 +129,7 @@ type Connection interface { ...@@ -129,7 +129,7 @@ type Connection interface {
} }
///////////////////////////////////////// /////////////////////////////////////////
// Session interfacke // Session interface
///////////////////////////////////////// /////////////////////////////////////////
var ( var (
...@@ -175,7 +175,7 @@ type Session interface { ...@@ -175,7 +175,7 @@ type Session interface {
} }
///////////////////////////////////////// /////////////////////////////////////////
// EndPoint interfacke // EndPoint interface
///////////////////////////////////////// /////////////////////////////////////////
type EndPoint interface { type EndPoint interface {
......
...@@ -215,7 +215,7 @@ func (s *session) IsClosed() bool { ...@@ -215,7 +215,7 @@ func (s *session) IsClosed() bool {
} }
} }
// set maximum pacakge length of every pacakge in (EventListener)OnMessage(@pkgs) // set maximum package length of every package in (EventListener)OnMessage(@pkgs)
func (s *session) SetMaxMsgLen(length int) { func (s *session) SetMaxMsgLen(length int) {
s.lock.Lock() s.lock.Lock()
defer s.lock.Unlock() defer s.lock.Unlock()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment