client

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2022 License: BSD-2-Clause Imports: 27 Imported by: 0

Documentation

Overview

Package client handles all network communication to and from a player.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Config

func Config(c config.Config)

Config sets up package configuration for settings that can't be constants. It should be called by main, only once, before anything else starts. Once the configuration is set it should be treated as immutable an not changed.

func New

func New(conn *net.TCPConn) *client

Types

This section is empty.

Jump to

Keyboard shortcuts

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