Documentation ¶
Overview ¶
Package scramblesuit provides an implementation of the ScrambleSuit obfuscation protocol. The implementation is client only.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotSupported is the error returned for a unsupported operation. ErrNotSupported = errors.New("scramblesuit: operation not supported") // ErrInvalidPacket is the error returned when a invalid packet is received. ErrInvalidPacket = errors.New("scramblesuit: invalid packet") )
View Source
var ( // ErrInvalidHandshake is the error returned when the handshake fails. ErrInvalidHandshake = errors.New("invalid handshake") )
Functions ¶
This section is empty.
Types ¶
type Transport ¶
type Transport struct{}
Transport is the ScrambleSuit implementation of the base.Transport interface.
func (*Transport) ClientFactory ¶
func (t *Transport) ClientFactory(stateDir string) (base.ClientFactory, error)
ClientFactory returns a new ssClientFactory instance.
func (*Transport) ServerFactory ¶
func (t *Transport) ServerFactory(stateDir string, args *pt.Args) (base.ServerFactory, error)
ServerFactory will one day return a new ssServerFactory instance.
Click to show internal directories.
Click to hide internal directories.