Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proposal: x/crypto/ssh: export a method Disconnect in Conn interface #37913

Open
wutz opened this issue Mar 18, 2020 · 0 comments
Open

proposal: x/crypto/ssh: export a method Disconnect in Conn interface #37913

wutz opened this issue Mar 18, 2020 · 0 comments
Labels
Milestone

Comments

@wutz
Copy link

@wutz wutz commented Mar 18, 2020

What version of Go are you using (go version)?

$ go version
go version go1.14 linux/amd64

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/wutz/.cache/go-build"
GOENV="/home/wutz/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY="git.paratera.net"
GONOSUMDB="git.paratera.net"
GOOS="linux"
GOPATH="/home/wutz/.go/path"
GOPRIVATE="git.paratera.net"
GOPROXY="https://goproxy.cn,direct"
GOROOT="/home/wutz/.go/root"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/wutz/.go/root/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/wutz/go/ssh/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build427084596=/tmp/go-build -gno-record-gcc-switches"

Proposal: Feature Request

https://github.com/golang/crypto/blob/1b76d66859c6111b3d5c3ea6600ea44dc188bf12/ssh/connection.go#L72-L75

Want to export a method Disconnect

@gopherbot gopherbot added this to the Proposal milestone Mar 18, 2020
@gopherbot gopherbot added the Proposal label Mar 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.