Documentation ¶
Index ¶
- func ClearChat(user *models.User, hashname string) error
- func ClearGroupChat(user *models.User, hashname string) error
- func DeleteClient(user *models.User, hashname string) error
- func DeleteEmail(user *models.User, hash string) error
- func DeleteFile(user *models.User, filehash string) error
- func DeleteFriend(user *models.User, hashname string) error
- func DeleteGroupChat(user *models.User, hashname string) error
- func DeleteUser(user *models.User) error
- func GetAllClients(user *models.User) []models.Client
- func GetAllEmails(user *models.User) []models.Email
- func GetAllFiles(user *models.User) []models.File
- func GetAllFriends(user *models.User) []string
- func GetChat(user *models.User, hashname string) *models.Chat
- func GetClient(user *models.User, hashname string) *models.Client
- func GetClientHashname(id int) string
- func GetClientId(iduser int, hashname string) int
- func GetEmail(user *models.User, hash string) *models.Email
- func GetFile(user *models.User, filehash string) *models.File
- func GetFriendId(iduser int, hashname string) int
- func GetGroupChat(user *models.User, hashname string) *models.Chat
- func GetGroupChatFounders(user *models.User) []string
- func GetLastMessages(user *models.User) []models.LastMessage
- func GetState(user *models.User) *models.State
- func GetStateId(iduser int) int
- func GetTempEmails(user *models.User, hashname string) []models.EmailType
- func GetUser(username, password string) *models.User
- func GetUserId(username string) int
- func InClients(user *models.User, hashname string) bool
- func InEmails(user *models.User, hash string) bool
- func SetChat(user *models.User, chat *models.Chat) error
- func SetClient(user *models.User, client *models.Client) error
- func SetEmail(user *models.User, option models.EmailSaveOption, email *models.Email) error
- func SetFile(user *models.User, file *models.File) error
- func SetFriend(user *models.User, hashname string) error
- func SetGroupChat(user *models.User, chat *models.Chat) error
- func SetState(user *models.User, state *models.State) error
- func SetUser(user *models.User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteGroupChat ¶ added in v1.0.7
func DeleteUser ¶
func GetAllFriends ¶ added in v1.0.3
func GetClientHashname ¶ added in v1.0.5
func GetClientId ¶ added in v1.0.5
func GetFriendId ¶ added in v1.0.5
func GetGroupChat ¶ added in v1.0.7
func GetGroupChatFounders ¶ added in v1.0.7
func GetLastMessages ¶
func GetLastMessages(user *models.User) []models.LastMessage
func GetStateId ¶ added in v1.0.5
func GetTempEmails ¶ added in v1.0.5
Types ¶
This section is empty.
Source Files ¶
- ClearChat.go
- ClearGroupChat.go
- DeleteClient.go
- DeleteEmail.go
- DeleteFile.go
- DeleteFriend.go
- DeleteGroupChat.go
- DeleteUser.go
- GetAllClients.go
- GetAllEmails.go
- GetAllFiles.go
- GetAllFriends.go
- GetChat.go
- GetClient.go
- GetClientHashname.go
- GetClientId.go
- GetEmail.go
- GetFile.go
- GetFriendId.go
- GetGroupChat.go
- GetGroupChatFounders.go
- GetLastMessages.go
- GetState.go
- GetStateId.go
- GetTempEmails.go
- GetUser.go
- GetUserId.go
- InClients.go
- InEmails.go
- SetChat.go
- SetClient.go
- SetEmail.go
- SetFile.go
- SetFriend.go
- SetGroupChat.go
- SetState.go
- SetUser.go
- decryptMessage.go
- encryptMessage.go
Click to show internal directories.
Click to hide internal directories.