package
0.8.7
Repository: https://github.com/protocolone/rain.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
NewStream returns a new Stream.
WrapConn returns a new wrapper around conn.

# Constants

Crypto methods.
Crypto methods.

# Structs

Conn is a wrapper around net.Conn that does encryption/decryption on Read/Write methods.
Stream wraps a io.ReadWriter that automatically does encrypt/decrypt on read/write.

# Type aliases

CryptoMethod is 32-bit bitfield each bit representing a single crypto method.