Documentation
¶
Index ¶
- func AddFriend(email, key string) error
- func AddFriendRequest(fromme bool, email, key string) error
- func AddMsg(mail *pb.Mail) error
- func AddProfile(profile string)
- func GetCfg(key string) (string, bool)
- func GetCurrentProfile() (string, bool)
- func GetFriend(email string) (*pb.Friend, error)
- func GetFriendRequest(email string) (*pb.FriendRequest, error)
- func GetFriendRequests() ([]*pb.FriendRequest, error)
- func GetFriends() ([]string, error)
- func GetMessages(since int64) ([]*pb.Mail, error)
- func GetProfiles() []string
- func LoadProfile(profile string)
- func RemoveFriendRequest(email string) error
- func SetCfg(key, val string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddProfile ¶
func AddProfile(profile string)
func GetCurrentProfile ¶
func GetFriendRequest ¶
func GetFriendRequest(email string) (*pb.FriendRequest, error)
func GetFriendRequests ¶
func GetFriendRequests() ([]*pb.FriendRequest, error)
func GetFriends ¶
func GetMessages ¶
GetMessages gets all messages after a unix timestamp
func GetProfiles ¶
func GetProfiles() []string
func LoadProfile ¶
func LoadProfile(profile string)
func RemoveFriendRequest ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.