Documentation ¶
Overview ¶
The package credentials provides encryption for mergo The main utility you will find is to save, get and delete user's credentials You should use these functions when managing user's credentials since they come with their way of handling encryption
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoHostConfig = errors.New("no config for given host")
)
Functions ¶
func DeleteHostConfig ¶
DeletedHostConfig takes a host name and deletes its credentials
func GetHostConfig ¶
GetHostConfig returns the credentials stored for the host 'host'
func WriteHostConfig ¶
WriteHostConfig writes the config 'content' as the credentials for the host 'host'
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.