obfs

package
v0.3.1-beta.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IObfs

type IObfs interface {
	GetOverhead() int

	net.Conn
}

type Obfs

type Obfs struct {
	// contains filtered or unexported fields
}

func NewObfs

func NewObfs(name string, info ssr.ObfsInfo) (*Obfs, error)

NewObfs create an obfs object by name and return as an IObfs interface

func (*Obfs) Overhead

func (o *Obfs) Overhead() int

func (*Obfs) Stream

func (o *Obfs) Stream(conn net.Conn) net.Conn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL