Versions in this module Expand all Collapse all v1 v1.0.0 Aug 14, 2020 Changes in this version + type AuthData struct + type IProtocol interface + GetData func() interface{} + GetOverhead func() int + GetServerInfo func() *ssr.ServerInfo + PostDecrypt func(data []byte) ([]byte, int, error) + PreEncrypt func(data []byte) ([]byte, error) + SetData func(data interface{}) + SetServerInfo func(s *ssr.ServerInfo) + func NewAuthAES128MD5() IProtocol + func NewAuthAES128SHA1() IProtocol + func NewAuthChainA() IProtocol + func NewAuthChainB() IProtocol + func NewAuthSHA1v4() IProtocol + func NewOrigin() IProtocol + func NewProtocol(name string) IProtocol + func NewVerifySHA1() IProtocol