Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrProfileNotFound = errors.New("profile not found")
Functions ¶
func DeleteProfile ¶
DeleteProfile function deletes a profiles from the official config file, if it exists. Then, removes the password from the OS keyring system. Finally, saves updated profiles set in the dblab's config file, without the given profile.
func ReadProfiles ¶
ReadProfiles function reads the config file and returns all the profiles in the file.
Types ¶
Click to show internal directories.
Click to hide internal directories.