client

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2022 License: BSD-2-Clause Imports: 26 Imported by: 0

Documentation

Overview

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

Copyright 2021 Andrew 'Diddymus' Rolfe. All rights reserved.

Use of this source code is governed by the license in the LICENSE file included with the source code.

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