Documentation ¶
Index ¶
- Variables
- func HandleContacts(src string, dm *signalservice.DataMessage) ([]*signalservice.DataMessage_Contact, error)
- func LoadContacts(contactsYaml *yamlContacts)
- func UpdateProfileKey(src string, profileKey []byte) error
- func WriteContacts(filename string, contacts []Contact) error
- func WriteContactsToPath() error
- type Contact
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func HandleContacts ¶
func HandleContacts(src string, dm *signalservice.DataMessage) ([]*signalservice.DataMessage_Contact, error)
func LoadContacts ¶
func LoadContacts(contactsYaml *yamlContacts)
LoadContacts reads a YAML contacts file
func WriteContacts ¶
WriteContacts saves a list of contacts to a file
Types ¶
type Contact ¶
type Contact struct { UUID string Tel string ProfileKey []byte IdentityKey []byte Name string Username string Avatar []byte Color string Blocked bool Verified *signalservice.Verified ExpireTimer uint32 InboxPosition uint32 Archived bool Certificate []byte }
Contact contains information about a contact.
func ReadContacts ¶
ReadContacts loads the contacts yaml file and pareses it
Click to show internal directories.
Click to hide internal directories.