repositories

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateUser

func CreateUser(userName string, password string) *models.User

func GetUserByName

func GetUserByName(userName string) *models.User

func GetUserByToken added in v1.2.0

func GetUserByToken(token string) *models.User

func InitMessage added in v1.4.0

func InitMessage() *messageRepository

func ListOfUsers added in v1.2.0

func ListOfUsers() map[string]*models.User

func NewChat added in v1.2.0

func NewChat() *chatRepository

func RemoveToken added in v1.2.0

func RemoveToken(user *models.User)

func StoreUser

func StoreUser(user *models.User)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL