protocol

package
v1.0.15 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 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 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