MCPcopy
hub / github.com/gliderlabs/ssh / ServerVersion

Method ServerVersion

context.go:152–154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150}
151
152func (ctx *sshContext) ServerVersion() string {
153 return ctx.Value(ContextKeyServerVersion).(string)
154}
155
156func (ctx *sshContext) RemoteAddr() net.Addr {
157 if addr, ok := ctx.Value(ContextKeyRemoteAddr).(net.Addr); ok {

Callers

nothing calls this directly

Calls 1

ValueMethod · 0.95

Tested by

no test coverage detected