obfs

package
v0.0.0-...-fcc1ec0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NotSupportObfsError = errors.New("obfs method do not support")
)

Functions

This section is empty.

Types

type IObfs

type IObfs interface {
	SetServerInfo(s *ssr.ServerInfoForObfs)
	GetServerInfo() (s *ssr.ServerInfoForObfs)
	Encode(data []byte) ([]byte, error)
	Decode(data []byte) ([]byte, uint64, error)
	SetData(data interface{})
	GetData() interface{}
}

func NewObfs

func NewObfs(name string) (iobfs IObfs, err error)

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

Jump to

Keyboard shortcuts

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