communication

package
v0.0.0-...-f9e80be Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is a basic TCP communication

func NewClient

func NewClient(port int, debug bool) (*Client, error)

NewClient creates a new client

func (*Client) Close

func (c *Client) Close()

Close closes the client connection

func (*Client) Connection

func (c *Client) Connection() net.Conn

Connection returns the net.Conn connection

Jump to

Keyboard shortcuts

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