package
1.14.5
Repository: https://github.com/diodechain/diode_client.git
Documentation: pkg.go.dev

# Functions

DialContext connect to address with openssl context.
No description provided by the author
GetConnectionID returns address from an openssl connection.
LoadClientPubKey loads the clients public key from the database.
No description provided by the author
NewBufferedConn creates a new buffered connection.
NewCallManager returns callManager.
NewClient returns rpc client.
NewClientManager returns a new manager rpc client.
New returns a new connected port.
NewE2EConn creates a new E2E encrypted connection.
NewHTTPConn returns wrapper of gorilla websocket connection.
NewLoggingConn wraps any net.Conn and logs to stdout for debugging.
NewLoggingConn wraps any net.Conn and logs to stdout for debugging.
No description provided by the author
NewPacketConn wraps a PacketListener.
No description provided by the author
No description provided by the author
No description provided by the author
NewSocksServer generate socksserver struct.
No description provided by the author
NewTunnel returns a newly created Tunnel.
NewUDPReplyConn wraps a PacketListener and an address to write replies.
NewWSConn returns wrapper of gorilla websocket connection.
No description provided by the author
No description provided by the author
WindowSize returns the current blockquick window size.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Backoff is a time.Duration counter, starting at Min.
Bind keeps track if existing binds.
No description provided by the author
CancelledError is struct for cancelled error.
Client struct for rpc client.
ClientManager struct for the client manager.
Config is Socks Server configuration.
No description provided by the author
No description provided by the author
No description provided by the author
E2EConn holds the TLS encrypted connection.
E2EServer represents a proxy server that port ssl connection to local resource connection.
HTTPConn reads first the leftover from the socket hijack.
No description provided by the author
TODO: Enable other metrics? TODO: Update logger.
Config is Proxy Server configuration.
No description provided by the author
Resolver represents the bns name resolver of device.
RPCError is struct for rpc error.
Server is the only instances of the Socks Server.
No description provided by the author
No description provided by the author
TimeoutError is struct for rpc timeout error.
Timer struct holding timing information.
Tunnel is a multiplex net copier in diode.
WSConn is a net wrapper for gorilla websocket connection Since we use binary message, we hard code messageType as BinaryMessage when call NewWSConn.

# Type aliases

Address represents an Ethereum address.
No description provided by the author
No description provided by the author