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.ServerInfo)
GetServerInfo() *ssr.ServerInfo
PreEncrypt(data []byte) ([]byte, error)
PostDecrypt(data []byte) ([]byte, int, error)
SetData(data any)
GetData() any
GetOverhead() int
}
func NewAuthAES128MD5 ¶
func NewAuthAES128MD5() IProtocol
func NewAuthAES128SHA1 ¶
func NewAuthAES128SHA1() IProtocol
func NewAuthChainA ¶
func NewAuthChainA() IProtocol
func NewAuthChainB ¶
func NewAuthChainB() IProtocol
func NewAuthSHA1v4 ¶
func NewAuthSHA1v4() IProtocol
func NewProtocol ¶
func NewVerifySHA1 ¶
func NewVerifySHA1() IProtocol
Click to show internal directories.
Click to hide internal directories.