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: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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