Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCredentialsExist = Error{ // contains filtered or unexported fields }
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type Credentials struct { Alias string `msgpack:"alias"` Username string `msgpack:"userame"` Host string `msgpack:"host"` Port int `msgpack:"port"` Password *string `msgpack:"password,omitempty"` Key []byte `msgpack:"key,omitempty"` Passphrase []byte `msgpack:"passphrase,omitempty"` Source *string `msgpack:"source,omitempty"` Local bool `msgpack:"-"` }
type Error ¶ added in v1.1.0
type Error struct {
// contains filtered or unexported fields
}
func NewCredentialExistsError ¶ added in v1.1.0
type Manager ¶
type Manager interface { Get(alias string) (*Credentials, error) Set(cred *Credentials, force bool) error List() ([]*Credentials, error) Del(alias string) error Drop() error Done() error }
Click to show internal directories.
Click to hide internal directories.