client

package
v0.0.0-...-0487750 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EBadArg = errors.New("Bad Args")
View Source
var EShort = errors.New("Short")

Functions

This section is empty.

Types

type Client

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

The client is a listener that offers a hidden service (.onion) within the simulated darknet.

func NewClient

func NewClient(c net.Conn, addr string) (cli *Client, err error)

func (*Client) Accept

func (c *Client) Accept() (nc net.Conn, err error)

func (*Client) Addr

func (c *Client) Addr() net.Addr

func (*Client) Close

func (c *Client) Close() error

Jump to

Keyboard shortcuts

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