handler

package
v0.0.0-...-e8e5fc3 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearConsole

func ClearConsole()

func CreateGroup

func CreateGroup(user *model.User, groupname string)

func EnterGroupChat

func EnterGroupChat(user *model.User, groupname string)

func GetGroupInfo

func GetGroupInfo(groupname string)

func JoinGroup

func JoinGroup(user *model.User)

func Login

func Login(username, password string) (*model.User, error)

func LoginMenu

func LoginMenu(user *model.User)

func Receive

func Receive(groupName, sender string, signal <-chan bool)

func RemoveUserFromGroup

func RemoveUserFromGroup(groupname string, user *model.User)

func SendMessage

func SendMessage(groupName string, user *model.User, signal chan<- bool) error

func SignUp

func SignUp(username, password string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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