Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Settings ¶
Settings defines the configuration properties for this module
func NewSettingsFromYAML ¶
func NewSettingsFromYAML(name string, ymlConfig *config.Config, globalConfig *config.Config) *Settings
NewSettingsFromYAML creates a new settings instance from a YAML config block
type Status ¶
Status represents the status of an account in the HIBP system
func (*Status) HasBeenCompromised ¶
HasBeenCompromised returns TRUE if the specified account has any breaches associated with it, FALSE if no breaches are associated with it
type Widget ¶
type Widget struct { view.TextWidget // contains filtered or unexported fields }
Widget is the container for hibp data
func NewWidget ¶
func NewWidget(tviewApp *tview.Application, settings *Settings) *Widget
NewWidget creates a new instance of a widget
Click to show internal directories.
Click to hide internal directories.