Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCache ¶
func NewCache() cache.Repository
Types ¶
type Yubikey ¶
type Yubikey struct { GetCode func(ctx context.Context) (string, error) // contains filtered or unexported fields }
func (*Yubikey) GetPassword ¶
Get password from cache, assign it into the instance and finally return it.
func (*Yubikey) RemovePassword ¶
Remove password from cache and fomr the instance.
func (*Yubikey) SetPassword ¶
Save password to cache and assign it into the instance.
Click to show internal directories.
Click to hide internal directories.