MCPcopy Create free account
hub / github.com/belak/gitdir / Serve

Method Serve

ssh_server.go:120–122  ·  view source on GitHub ↗

Serve listens on the given listener for new SSH connections.

(l net.Listener)

Source from the content-addressed store, hash-verified

118
119// Serve listens on the given listener for new SSH connections.
120func (serv *Server) Serve(l net.Listener) error {
121 return serv.ssh.Serve(l)
122}
123
124// ListenAndServe listens on the Addr set on the server struct for new SSH
125// connections.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected