obfs

package
v0.0.0-...-da20fda Latest Latest
Warning

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

Go to latest
Published: May 29, 2018 License: MIT Imports: 10 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.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

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