network

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: MIT Imports: 4 Imported by: 0

README

Network Peers

NetPeer

Read from and write to a net.Conn.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNetPeer

func NewNetPeer(c net.Conn, gs rua.GameServer, bufSize int, readTimeout int, writeTimeout int) *rua.BasicPeer

Create a peer with a connection of `net.Conn`. If `timeout` == 0 (in ms), there is no timeout.

Types

This section is empty.

Jump to

Keyboard shortcuts

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