Documentation ¶
Overview ¶
Package secret defines secret types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Address ¶
type Address struct { Address1 string `json:"address1,omitempty"` Address2 string `json:"address2,omitempty"` Address3 string `json:"address3,omitempty"` City string `json:"city,omitempty"` // Or Town State string `json:"state,omitempty"` // Or Province PostalCode string `json:"zip,omitempty"` // Or Postal Code Country string `json:"country,omitempty"` }
Address ...
type Card ¶
type Card struct { FullName string `json:"fullName,omitempty"` Number string `json:"number,omitempty"` Expiration string `json:"expire,omitempty"` Code string `json:"code,omitempty"` }
Card ...
type Contact ¶
type Contact struct { FirstName string `json:"firstName,omitempty"` LastName string `json:"lastName,omitempty"` Company string `json:"company,omitempty"` Emails []string `json:"emails,omitempty"` Phones []string `json:"phones,omitempty"` Addresses []Address `json:"addresses,omitempty"` }
Contact ...
type Secret ¶
type Secret struct { ID string `json:"id"` Name string `json:"name"` Type Type `json:"type"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` URL string `json:"url,omitempty"` Notes string `json:"notes,omitempty"` Contact *Contact `json:"contact,omitempty"` Card *Card `json:"card,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` }
Secret to keep.
Click to show internal directories.
Click to hide internal directories.