Discover Packages
github.com/passwdapp/passwd.go
models
package
Version:
v0.0.0-...-0efd5c0
Opens a new window with list of versions in this module.
Published: Feb 25, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Site struct {
SiteURL string `json:"u" msgpack:"u"`
Counter int `json:"c" msgpack:"c"`
KeyType int `json:"kt" msgpack:"kt"`
EncodingType int `json:"et" msgpack:"et"`
}
Site struct contains an entry for a site
type Storage struct {
VerificationBytes []byte `json:"v" msgpack:"v"`
Name string `json:"n" msgpack:"n"`
Sites []Site `json:"s" msgpack:"s"`
}
Storage struct contains the format of the db stored on disk
Source Files
¶
Click to show internal directories.
Click to hide internal directories.