Versions in this module Expand all Collapse all v1 v1.0.0 Feb 27, 2020 Changes in this version + var ErrInvalidHandshake = errors.New("handshake: Failed to find M_[C,S]") + var ErrMarkNotFoundYet = errors.New("handshake: M_[C,S] not found yet") + var ErrNtorFailed = errors.New("handshake: ntor handshake failure") + var ErrReplayedHandshake = errors.New("handshake: Replay detected") + type InvalidAuthError struct + Derived *ntor.Auth + Received *ntor.Auth + func (e *InvalidAuthError) Error() string + type InvalidMacError struct + Derived []byte + Received []byte + func (e *InvalidMacError) Error() string + type InvalidPacketLengthError int + func (e InvalidPacketLengthError) Error() string + type InvalidPayloadLengthError int + func (e InvalidPayloadLengthError) Error() string + type Transport struct + func (t *Transport) ClientFactory(stateDir string) (base.ClientFactory, error) + func (t *Transport) Name() string + func (t *Transport) ServerFactory(stateDir string, args *pt.Args) (base.ServerFactory, error)