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

Method getDoneChan

server.go:390–395  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

388}
389
390func (srv *Server) getDoneChan() <-chan struct{} {
391 srv.mu.Lock()
392 defer srv.mu.Unlock()
393
394 return srv.getDoneChanLocked()
395}
396
397func (srv *Server) getDoneChanLocked() chan struct{} {
398 if srv.doneChan == nil {

Callers 2

ServeMethod · 0.95
TestServerCloseFunction · 0.95

Calls 1

getDoneChanLockedMethod · 0.95

Tested by 1

TestServerCloseFunction · 0.76