mirror of https://github.com/slackhq/nebula.git
11 lines
176 B
Go
11 lines
176 B
Go
|
package main
|
||
|
|
||
|
type StubPasswordReader struct {
|
||
|
password []byte
|
||
|
err error
|
||
|
}
|
||
|
|
||
|
func (pr *StubPasswordReader) ReadPassword() ([]byte, error) {
|
||
|
return pr.password, pr.err
|
||
|
}
|