github.com/10XDev/rclone@v1.52.3-0.20200626220027-16af9ab76b2a/fs/config/config_read_password_unsupported.go (about)

     1  // ReadPassword for OSes which are not supported by golang.org/x/crypto/ssh/terminal
     2  // See https://github.com/golang/go/issues/14441 - plan9
     3  //     https://github.com/golang/go/issues/13085 - solaris
     4  
     5  // +build solaris plan9
     6  
     7  package config
     8  
     9  // ReadPassword reads a password with echoing it to the terminal.
    10  func ReadPassword() string {
    11  	return ReadLine()
    12  }