net

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateChatRequest

func CreateChatRequest(chatID int, reqType prot.RequestWhat, username string, messageContent string, messageID int) []byte

func HandleServerCommunication

func HandleServerCommunication(conn net.Conn, gui *gui.GUI, u *user.UserData, connDone chan bool)

func StartNet

func StartNet(gui *gui.GUI, u *user.UserData, opt *options.Options)

StartNet: Connect to the server and show an error dialog if it fails Parameters:

	gui (*gui.GUI) - GUI elements
 u (*user.UserData) - Information pertaining to users
 opt (*options.Options) - Options/settings

Types

This section is empty.

Jump to

Keyboard shortcuts

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