Documentation ¶
Index ¶
- Variables
- func New(config *protocol.Protocol_Yuubinsya) protocol.WrapProxy
- func NewConn(c net.Conn, rnonce, wnonce []byte, rciph, wciph cipher.AEAD) net.Conn
- func NewHandshaker(encrypted bool, password []byte) handshaker
- func NewReader(r io.Reader, nonce []byte, aead cipher.AEAD, maxPayloadSize int) *reader
- func NewServer(config Config) *yuubinsya
- func NewWriter(w io.Writer, nonce []byte, aead cipher.AEAD, maxPayloadSize int) *writer
- type Aead
- type Client
- type Config
- type Conn
- type Ed25519
- type Hash
- type Net
- type PacketConn
- type Signer
- type Type
Constants ¶
This section is empty.
Variables ¶
View Source
var Chacha20poly1305 = chacha20poly1305Aead{}
View Source
var Sha256 = sha256Hash{}
Functions ¶
func NewHandshaker ¶
Types ¶
type Client ¶
type Client struct { proxy.EmptyDispatch // contains filtered or unexported fields }
func (*Client) PacketConn ¶
type Config ¶
type Ed25519 ¶
type Ed25519 struct {
// contains filtered or unexported fields
}
func (Ed25519) SignatureSize ¶
type PacketConn ¶
Click to show internal directories.
Click to hide internal directories.