Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFileName ¶
GetFileName generates and returns zauth filename for type t. Format: zauth-{t}-{Current UnixTime}.json?{.enc}
func ReadZAuthJson ¶
ReadZAuthJson reads zauth.json file and returns it's equivalent ZAuth array object
Types ¶
type PasswordReader ¶
type UserInputReader ¶
type ZAuthCommon ¶
type ZAuthCommon struct{}
func (*ZAuthCommon) ReadPassword ¶
func (zc *ZAuthCommon) ReadPassword() (string, error)
func (*ZAuthCommon) UserInput ¶
func (zc *ZAuthCommon) UserInput() (string, error)
type ZAuthCommonComp ¶
type ZAuthCommonComp interface { PasswordReader UserInputReader }
Click to show internal directories.
Click to hide internal directories.