454
471
// run calls connect, and if it works it calls start, and if it works
455
472
// it runs loop in a goroutine, and ships its return value over ErrCh.
456
func (sess *ClientSession) run(closer func(), hostGetter, connecter, starter, looper func() error) error {
473
func (sess *ClientSession) run(closer func(), authChecker, hostGetter, connecter, starter, looper func() error) error {