client

package
v0.0.0-...-dc806d7 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConnBufferIn *bufio.Reader

Functions

func BufferInInit

func BufferInInit(conn *net.TCPConn)

Initializes Buffer for incoming Messages.

func Connect

func Connect(connAddress *net.TCPAddr, verbose bool) (*net.TCPConn, error)

Connects to Server.

func DisConnect

func DisConnect(conn *net.TCPConn, verbose bool) error

Dis-Connects from Server.

func HelloRequestSend

func HelloRequestSend(conn *net.TCPConn, verbose bool) error

Sends Hello-Message to Server.

func HelloResponseGet

func HelloResponseGet(buffer *bufio.Reader, verbose bool) error

Get Server's Response to Hello-Message.

func MessageReceive

func MessageReceive(buffer *bufio.Reader, verbose bool) (*string, error)

Receives a Message from Server.

func MessageSend

func MessageSend(conn *net.TCPConn, messageStr *string, verbose bool) error

Sends a Message to Server.

func ReadySend

func ReadySend(conn *net.TCPConn, verbose bool) error

Sends Ready-Message to Server.

func ResponseKey

func ResponseKey() (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