protocol

package
v0.0.0-...-528cd1c Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IProtocol

type IProtocol interface {
	SetServerInfo(s *ssr.ServerInfoForObfs)
	GetServerInfo() *ssr.ServerInfoForObfs
	PreEncrypt(data []byte) ([]byte, error)
	PostDecrypt(data []byte) ([]byte, int, error)
	SetData(data interface{})
	GetData() interface{}
}

func NewAuthAES128MD5

func NewAuthAES128MD5() IProtocol

func NewAuthAES128SHA1

func NewAuthAES128SHA1() IProtocol

func NewAuthSHA1v4

func NewAuthSHA1v4() IProtocol

func NewOrigin

func NewOrigin() IProtocol

func NewProtocol

func NewProtocol(name string) IProtocol

func NewVerifySHA1

func NewVerifySHA1() IProtocol

Jump to

Keyboard shortcuts

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