Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
G
getty
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wei.xuan
getty
Commits
0659b79f
Unverified
Commit
0659b79f
authored
Aug 22, 2019
by
Xin.Zh
Committed by
GitHub
Aug 22, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #23 from mfslog/master
fix:修正注释中的单词错误
parents
293a60d4
0c477835
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
getty.go
getty.go
+3
-3
session.go
session.go
+1
-1
No files found.
getty.go
View file @
0659b79f
...
...
@@ -100,7 +100,7 @@ const (
)
/////////////////////////////////////////
// connection interfac
k
e
// connection interface
/////////////////////////////////////////
type
Connection
interface
{
...
...
@@ -129,7 +129,7 @@ type Connection interface {
}
/////////////////////////////////////////
// Session interfac
k
e
// Session interface
/////////////////////////////////////////
var
(
...
...
@@ -175,7 +175,7 @@ type Session interface {
}
/////////////////////////////////////////
// EndPoint interfac
k
e
// EndPoint interface
/////////////////////////////////////////
type
EndPoint
interface
{
...
...
session.go
View file @
0659b79f
...
...
@@ -215,7 +215,7 @@ func (s *session) IsClosed() bool {
}
}
// set maximum pac
akge length of every pacak
ge in (EventListener)OnMessage(@pkgs)
// set maximum pac
kage length of every packa
ge in (EventListener)OnMessage(@pkgs)
func
(
s
*
session
)
SetMaxMsgLen
(
length
int
)
{
s
.
lock
.
Lock
()
defer
s
.
lock
.
Unlock
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment