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

Method getDoneChanLocked

server.go:397–402  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

395}
396
397func (srv *Server) getDoneChanLocked() chan struct{} {
398 if srv.doneChan == nil {
399 srv.doneChan = make(chan struct{})
400 }
401 return srv.doneChan
402}
403
404func (srv *Server) closeDoneChanLocked() {
405 ch := srv.getDoneChanLocked()

Callers 2

getDoneChanMethod · 0.95
closeDoneChanLockedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected