Documentation ¶
Index ¶
- func DeleteChat(user *models.User, hashname string) error
- func DeleteFile(user *models.User, filehash string) error
- func DeleteUser(user *models.User) error
- func GetAllClients(user *models.User) []models.Client
- func GetAllFiles(user *models.User) []models.File
- func GetChat(user *models.User, comp string) *models.Chat
- func GetClient(user *models.User, hashname string) *models.Client
- func GetFile(user *models.User, filehash string) *models.File
- func GetLastChat(comp string, user *models.User) *models.Chat
- func GetLastMessages(user *models.User) []models.LastMessage
- func GetUser(pasw []byte) *models.User
- func GetUserId(hashpasw string) int
- func InClients(user *models.User, hashname string) bool
- func InUsers(hashpasw string) bool
- func SetChat(user *models.User, chat *models.Chat) error
- func SetClient(user *models.User, client *models.Client) error
- func SetFile(user *models.User, file *models.File) error
- func SetUser(user *models.User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteUser ¶
func GetLastMessages ¶
func GetLastMessages(user *models.User) []models.LastMessage
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.