protocol

package
Version: v0.0.0-...-c6c2a2c Latest Latest
Warning

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

Go to latest
Published: Feb 29, 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
t or T : Toggle theme light dark auto
y or Y : Canonical URL