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
c3f23679
Commit
c3f23679
authored
Mar 02, 2020
by
alexstocks
Committed by
watermelo
Jul 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upd: travis config
parent
c22d4d22
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
8 deletions
+4
-8
.travis.yml
.travis.yml
+1
-3
connection.go
connection.go
+0
-2
go.mod
go.mod
+1
-0
go.sum
go.sum
+2
-0
session.go
session.go
+0
-3
No files found.
.travis.yml
View file @
c3f23679
language
:
go
go
:
-
"
1.11"
-
"
1.12"
-
"
1.13"
env
:
...
...
@@ -10,4 +8,4 @@ env:
script
:
-
go fmt ./... && [[ -z `git status -s` ]]
-
go mod vendor && go test
./... -bench . -race -v
-
go mod vendor && go test
-v client_test.go server_test.go session.go client.go connection.go const.go getty.go server.go options.go logger.go
connection.go
View file @
c3f23679
...
...
@@ -24,8 +24,6 @@ import (
"github.com/golang/snappy"
"github.com/gorilla/websocket"
perrors
"github.com/pkg/errors"
"golang.org/x/net/ipv4"
"golang.org/x/net/ipv6"
)
var
(
...
...
go.mod
View file @
c3f23679
...
...
@@ -8,6 +8,7 @@ require (
github.com/golang/snappy v0.0.1
github.com/gorilla/websocket v1.4.0
github.com/pkg/errors v0.8.1
github.com/stretchr/testify v1.5.1
go.uber.org/atomic v1.4.0 // indirect
go.uber.org/multierr v1.1.0 // indirect
go.uber.org/zap v1.10.0 // indirect
...
...
go.sum
View file @
c3f23679
...
...
@@ -17,6 +17,8 @@ github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.5.1 h1:nOGnQDM7FYENwehXlg/kFVnos3rEvtKTjRvOWSzb6H4=
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
go.uber.org/atomic v1.4.0 h1:cxzIVoETapQEqDhQu3QfnvXAV4AlzcvUCxkVUFw3+EU=
go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0=
...
...
session.go
View file @
c3f23679
...
...
@@ -163,9 +163,6 @@ func (s *session) Reset() {
attrs
:
gxcontext
.
NewValuesContext
(
nil
),
rDone
:
make
(
chan
struct
{}),
}
s
.
SetWriteTimeout
(
netIOTimeout
)
s
.
SetReadTimeout
(
netIOTimeout
)
}
// func (s *session) SetConn(conn net.Conn) { s.gettyConn = newGettyConn(conn) }
...
...
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