Documentation
¶
Index ¶
- Constants
- func CompanionMetadata(inner map[string]any) (title, note, totp string)
- func CompanionSites(inner map[string]any) []string
- func DecodeCompanionInner(data []byte) map[string]any
- func EncodeCompanionInner(inner map[string]any) ([]byte, error)
- func EncodeCompanionItem(srvr, username string, inner map[string]any) ([]byte, error)
- func EncodeItemRenamed(attrs map[string]any, newSrvr, newAcct string, secret []byte) ([]byte, error)
- func EncodeItemRestored(attrs map[string]any, agrp string, secret []byte) ([]byte, error)
- func EncodeItemWithSecret(attrs map[string]any, secret []byte) ([]byte, error)
- func EncodeMetadataItem(srvr, username, title, note string) ([]byte, error)
- func EncodeSiteAssociations(domains []string) []any
- func EncodeTOTPField(otpauthURL string) (map[string]any, error)
- func EncodeWebPasswordItem(srvr, username, password string) ([]byte, error)
- func IsWebsiteDomain(srvr string) bool
- func TOTPCode(otpAuthURL string, t time.Time) (string, error)
- type DeletedRef
- type Group
- type Item
- type Passkey
- type WebPassword
- type WiFiPassword
Constants ¶
View Source
const ( FlagUserPresent = 0x01 FlagUserVerified = 0x04 )
Variables ¶
This section is empty.
Functions ¶
func CompanionMetadata ¶ added in v1.0.12
func CompanionSites ¶ added in v1.0.13
func DecodeCompanionInner ¶ added in v1.0.9
func EncodeCompanionInner ¶ added in v1.0.12
func EncodeCompanionItem ¶ added in v1.0.9
func EncodeItemRenamed ¶ added in v1.0.9
func EncodeItemRestored ¶ added in v1.0.13
func EncodeItemWithSecret ¶ added in v1.0.9
func EncodeMetadataItem ¶ added in v1.0.9
func EncodeSiteAssociations ¶ added in v1.0.13
func EncodeTOTPField ¶ added in v1.0.9
func EncodeWebPasswordItem ¶ added in v1.0.9
func IsWebsiteDomain ¶ added in v1.0.14
Types ¶
type DeletedRef ¶ added in v1.0.9
type Passkey ¶ added in v1.0.9
type WebPassword ¶
type WebPassword struct {
Name string
Domain string
Domains []string
MergedHosts []string
Website bool
Username string
Password string
TOTP string
Note string
Created time.Time
Modified time.Time
IsDeleted bool
DeletedAt time.Time
Deleted []DeletedRef
Groups []Group
}
func WebPasswords ¶
func WebPasswords(items []Item) []WebPassword
func (WebPassword) IconURL ¶ added in v1.0.1
func (w WebPassword) IconURL() string
type WiFiPassword ¶ added in v1.0.3
func WiFiPasswords ¶ added in v1.0.3
func WiFiPasswords(items []Item) []WiFiPassword
Click to show internal directories.
Click to hide internal directories.