Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
K
koko
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
ops
koko
Commits
7d24c9c5
Commit
7d24c9c5
authored
May 08, 2019
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 解决版本依赖
parent
84baeb09
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
33 additions
and
63 deletions
+33
-63
Gopkg.lock
Gopkg.lock
+18
-16
Gopkg.toml
Gopkg.toml
+4
-14
go.mod
go.mod
+0
-22
server.go
pkg/auth/server.go
+1
-1
context.go
pkg/cctx/context.go
+1
-1
banner.go
pkg/handler/banner.go
+1
-1
session.go
pkg/handler/session.go
+1
-1
sftp.go
pkg/handler/sftp.go
+1
-1
test.go
pkg/handler/test.go
+1
-1
proxy.go
pkg/proxy/proxy.go
+1
-1
switch.go
pkg/proxy/switch.go
+1
-1
userconn.go
pkg/proxy/userconn.go
+1
-1
server.go
pkg/sshd/server.go
+1
-1
client.go
pkg/webssh/client.go
+1
-1
No files found.
Gopkg.lock
View file @
7d24c9c5
...
...
@@ -9,6 +9,15 @@
pruneopts = "UT"
revision = "648efa622239a2f6ff949fed78ee37b48d499ba4"
[[projects]]
branch = "dev"
digest = "1:35649cbef81554217a919e5214dd33b3ab449ef742284887d583a4e431330bc8"
name = "github.com/gliderlabs/ssh"
packages = ["."]
pruneopts = "UT"
revision = "f6ff00ebef0e6e6f324e1199f69bb2b9d8dcf2ed"
source = "github.com/ibuler/ssh"
[[projects]]
digest = "1:6b7e9b1e2f944a0c84f29943f705954d2d8cfbf6477c37a10d0c80acdbc2445f"
name = "github.com/googollee/go-engine.io"
...
...
@@ -45,20 +54,12 @@
version = "v1.4.0"
[[projects]]
digest = "1:c9aca0b305d2cf7925af6a5b1bdc24b99e5fd901271ba6e0cbb562f4112d01e3"
name = "github.com/ibuler/ssh"
packages = ["."]
pruneopts = "UT"
revision = "6e3e06f8bbc854467434a7c66e98566c506c0502"
version = "0.1.5"
[[projects]]
digest = "1:e77a03f1e4f1e4e035e46dc3cd79b1e33acbf651540aaa5e148caf1296884d18"
digest = "1:8cff1b38298ac6c9f02bce11df3a7b9026bba6540c52adcf3fc8b328bf0fc149"
name = "github.com/jarcoal/httpmock"
packages = ["."]
pruneopts = "UT"
revision = "
e598472b238f5d2a505e1316886da2171f86bfa4
"
version = "v1.0.
3
"
revision = "
ac2099de8d3789d30b99b740d1a9d242097462df
"
version = "v1.0.
4
"
[[projects]]
digest = "1:31e761d97c76151dde79e9d28964a812c46efc5baee4085b86f68f0c654450de"
...
...
@@ -153,7 +154,7 @@
[[projects]]
branch = "master"
digest = "1:
7ba755bbcaaf821fd0c73c96069883c4467d6e261e3ecc81adddb8e0bfc67527
"
digest = "1:
f8fa0c03fa1a9b220cd6e7984cd5ab923a83065f338a5fe2b2f61020d62f0991
"
name = "golang.org/x/crypto"
packages = [
"curve25519",
...
...
@@ -166,11 +167,12 @@
"ssh/terminal",
]
pruneopts = "UT"
revision = "a29dc8fdc73485234dbef99ebedb95d2eced08de"
revision = "40738d426814df40c4d54d5e7017f7af7725da47"
source = "github.com/ibuler/crypto"
[[projects]]
branch = "master"
digest = "1:
91f01f15f85f43f18cbed401dfc839879a12678f8254fcfe93daaddd4a3e52e0
"
digest = "1:
7a36766813b41d353a9055448789d5776e583f92dd1f68c79818dc0494b73855
"
name = "golang.org/x/sys"
packages = [
"cpu",
...
...
@@ -178,7 +180,7 @@
"windows",
]
pruneopts = "UT"
revision = "
a129542de9ae0895210abff9c95d67a1f33cb93d
"
revision = "
12bbe5a7a5209180b72cc7e3ed9da40442fe3246
"
[[projects]]
digest = "1:4d2e5a73dc1500038e504a8d78b986630e3626dc027bc030ba5c75da257cdb96"
...
...
@@ -192,8 +194,8 @@
analyzer-name = "dep"
analyzer-version = 1
input-imports = [
"github.com/gliderlabs/ssh",
"github.com/googollee/go-socket.io",
"github.com/ibuler/ssh",
"github.com/jarcoal/httpmock",
"github.com/kr/pty",
"github.com/leonelquinteros/gotext",
...
...
Gopkg.toml
View file @
7d24c9c5
...
...
@@ -25,20 +25,9 @@
# unused-packages = true
[[constraint]]
name
=
"github.com/googollee/go-engine.io"
version
=
"1.4.1"
[[constraint]]
name
=
"github.com/googollee/go-socket.io"
version
=
"1.4.1"
[[constraint]]
name
=
"github.com/gorilla/websocket"
version
=
"1.4.0"
[[constraint]]
name
=
"github.com/ibuler/ssh"
version
=
"0.1.5"
name
=
"github.com/gliderlabs/ssh"
source
=
"github.com/ibuler/ssh"
branch
=
"dev"
[[constraint]]
name
=
"github.com/jarcoal/httpmock"
...
...
@@ -71,6 +60,7 @@
[[constraint]]
branch
=
"master"
name
=
"golang.org/x/crypto"
source
=
"github.com/ibuler/crypto"
[[constraint]]
name
=
"gopkg.in/yaml.v2"
...
...
go.mod
deleted
100644 → 0
View file @
84baeb09
module cocogo
require (
github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 // indirect
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 // indirect
github.com/gliderlabs/ssh v0.1.4 // indirect
github.com/ibuler/ssh v0.1.5
github.com/jarcoal/httpmock v1.0.3
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
github.com/kr/fs v0.1.0 // indirect
github.com/kr/pty v1.1.4
github.com/leonelquinteros/gotext v1.4.0
github.com/mattn/go-runewidth v0.0.4 // indirect
github.com/olekukonko/tablewriter v0.0.1
github.com/pkg/errors v0.8.1 // indirect
github.com/pkg/sftp v1.10.0
github.com/satori/go.uuid v1.2.0
github.com/sirupsen/logrus v1.4.1
github.com/xlab/treeprint v0.0.0-20181112141820-a009c3971eca
golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734
gopkg.in/yaml.v2 v2.2.2
)
pkg/auth/server.go
View file @
7d24c9c5
...
...
@@ -5,7 +5,7 @@ import (
"fmt"
"strings"
"github.com/
ibuler
/ssh"
"github.com/
gliderlabs
/ssh"
gossh
"golang.org/x/crypto/ssh"
"cocogo/pkg/cctx"
...
...
pkg/cctx/context.go
View file @
7d24c9c5
...
...
@@ -3,7 +3,7 @@ package cctx
import
(
"context"
"github.com/
ibuler
/ssh"
"github.com/
gliderlabs
/ssh"
"cocogo/pkg/model"
)
...
...
pkg/handler/banner.go
View file @
7d24c9c5
...
...
@@ -6,7 +6,7 @@ import (
"io"
"text/template"
"github.com/
ibuler
/ssh"
"github.com/
gliderlabs
/ssh"
"cocogo/pkg/config"
"cocogo/pkg/i18n"
...
...
pkg/handler/session.go
View file @
7d24c9c5
...
...
@@ -8,7 +8,7 @@ import (
"strings"
"sync"
"github.com/
ibuler
/ssh"
"github.com/
gliderlabs
/ssh"
//"github.com/olekukonko/tablewriter"
//"github.com/satori/go.uuid"
//"github.com/xlab/treeprint"
...
...
pkg/handler/sftp.go
View file @
7d24c9c5
...
...
@@ -4,7 +4,7 @@ import (
"io"
"io/ioutil"
"github.com/
ibuler
/ssh"
"github.com/
gliderlabs
/ssh"
"github.com/pkg/sftp"
"cocogo/pkg/logger"
...
...
pkg/handler/test.go
View file @
7d24c9c5
...
...
@@ -8,7 +8,7 @@ import (
"syscall"
"unsafe"
"github.com/
ibuler
/ssh"
"github.com/
gliderlabs
/ssh"
"github.com/kr/pty"
)
...
...
pkg/proxy/proxy.go
View file @
7d24c9c5
...
...
@@ -6,7 +6,7 @@ import (
"strings"
"time"
"github.com/
ibuler
/ssh"
"github.com/
gliderlabs
/ssh"
"cocogo/pkg/config"
"cocogo/pkg/i18n"
...
...
pkg/proxy/switch.go
View file @
7d24c9c5
...
...
@@ -4,7 +4,7 @@ import (
"context"
"time"
"github.com/
ibuler
/ssh"
"github.com/
gliderlabs
/ssh"
"github.com/satori/go.uuid"
"cocogo/pkg/logger"
...
...
pkg/proxy/userconn.go
View file @
7d24c9c5
...
...
@@ -4,7 +4,7 @@ import (
"io"
"strings"
"github.com/
ibuler
/ssh"
"github.com/
gliderlabs
/ssh"
)
type
UserConnection
interface
{
...
...
pkg/sshd/server.go
View file @
7d24c9c5
...
...
@@ -5,7 +5,7 @@ import (
"strconv"
"time"
"github.com/
ibuler
/ssh"
"github.com/
gliderlabs
/ssh"
gossh
"golang.org/x/crypto/ssh"
"cocogo/pkg/auth"
...
...
pkg/webssh/client.go
View file @
7d24c9c5
package
webssh
import
(
"github.com/gliderlabs/ssh"
socketio
"github.com/googollee/go-socket.io"
"github.com/ibuler/ssh"
)
type
Client
struct
{
...
...
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