Versions in this module Expand all Collapse all v0 v0.1.0 Oct 11, 2019 Changes in this version + const EndOfFile + const StartOfEntry + const StartOfFile + const StartOfRecord + var ProgExitErr = ProgramExitError + type GnocchiProgram struct + Debug bool + MasterPw []byte + func StartProgram(debug bool) (*GnocchiProgram, error) + func (prog *GnocchiProgram) HandleInput(input string) error + func (prog *GnocchiProgram) MasterPwIsSet() bool + func (prog *GnocchiProgram) PrintPrompt() + type LoginInfo struct + func NewBlankLoginInfo() LoginInfo + func (linfo *LoginInfo) GetAcctPassword(masterPw []byte) string + func (linfo *LoginInfo) GetReader() io.Reader + func (linfo *LoginInfo) MakeNewRandomSeed() + func (linfo *LoginInfo) PrintInfo(settings bool) + func (linfo *LoginInfo) SetAllowedSpecialChars(chars string) error + func (linfo *LoginInfo) SetGeneratedPwLength(len int) error + type LoginInfoBuilder struct + type LoginInfoReader struct + func (linfR LoginInfoReader) Read(p []byte) (n int, err error) + type NewLoginProgramModule struct + func (prog *NewLoginProgramModule) EditLogin(wrLinfo *LoginInfo) + func (prog *NewLoginProgramModule) HandleInput(input string) error + func (prog *NewLoginProgramModule) NewLogin(wrLinfo *LoginInfo) + func (prog *NewLoginProgramModule) PrintPrompt() + type ProgramExitError struct + func (pee ProgramExitError) Error() string + type ProgramModule interface + HandleInput func(input string) error + PrintPrompt func() + type ProgramState int