obfs

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: GPL-3.0 Imports: 11 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 {
	SetServerInfo(s *ssr.ServerInfo)
	GetServerInfo() (s *ssr.ServerInfo)
	Encode(data []byte) (encodedData []byte, err error)
	Decode(data []byte) (decodedData []byte, needSendBack bool, err error)
	SetData(data any)
	GetData() any
	GetOverhead() int
}

func NewObfs

func NewObfs(name string) IObfs

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