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) (encryptedData []byte, err error)
PostDecrypt(data []byte) (decryptedData []byte, err error)
SetData(data interface{})
GetData() interface{}
}
func NewProtocol ¶
Click to show internal directories.
Click to hide internal directories.