Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SecretFieldNames = []string{"Username", "Credential", "URL", "LastUpdate", "LastUpdateBy", "Comment"}
View Source
var SecretHumanFieldNames = []string{"Username", "Credential", "URL", "Comment"}
Functions ¶
func ConvertFromSecret ¶
this function will convert the secret to map[string]interface {}
Types ¶
type Secret ¶
type Secret struct { Username string Credential string URL string //optional Comment string LastUpdate time.Time LastUpdateBy string }
reset to this
func ConvertToSecret ¶
convert the map[string]interface {} to Secret return the secret and true if the conversion is successful otherwise return empty secret and false
Click to show internal directories.
Click to hide internal directories.