Documentation
¶
Overview ¶
Package passwordparser parses password data
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PasswordEntry ¶
type PasswordEntry struct {
Label string `jsonry:"label"`
Secret string `jsonry:"password.secret"`
Primary bool `jsonry:"primary"`
}
func Parse ¶
func Parse(input any) ([]PasswordEntry, error)
func (*PasswordEntry) UnmarshalJSON ¶ added in v2.1.0
func (p *PasswordEntry) UnmarshalJSON(input []byte) error
UnmarshalJSON is implemented because JSONry doesn't currently support slices of structs so we unmarshal each struct individually
Click to show internal directories.
Click to hide internal directories.