Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientHandshake ¶ added in v1.0.20230907
Types ¶
type HandshakeRequest ¶ added in v1.0.20230907
type HandshakeRequest struct { Host string Port string Key string Network string Timestamp string Random string }
func ServerHandshake ¶ added in v1.0.20230907
func (*HandshakeRequest) MarshalBinary ¶ added in v1.0.20230907
func (r *HandshakeRequest) MarshalBinary() ([]byte, error)
func (*HandshakeRequest) UnmarshalBinary ¶ added in v1.0.20230907
func (r *HandshakeRequest) UnmarshalBinary(data []byte) error
type KCPProxy ¶ added in v1.0.20230907
type KCPProxy struct {
// contains filtered or unexported fields
}
func (*KCPProxy) ConnectServer ¶ added in v1.0.20230907
func (*KCPProxy) StartServer ¶ added in v1.0.20230907
func (p *KCPProxy) StartServer()
func (*KCPProxy) StopServer ¶ added in v1.0.20230907
func (p *KCPProxy) StopServer()
type TCPProxy ¶ added in v1.0.1
type TCPProxy struct {
// contains filtered or unexported fields
}
func (*TCPProxy) ConnectServer ¶ added in v1.0.20230907
func (*TCPProxy) StartServer ¶ added in v1.0.20230907
func (p *TCPProxy) StartServer()
func (*TCPProxy) StopServer ¶ added in v1.0.20230907
func (p *TCPProxy) StopServer()
type WSProxy ¶ added in v1.0.20230907
type WSProxy struct {
// contains filtered or unexported fields
}
func (*WSProxy) ConnectServer ¶ added in v1.0.20230907
func (*WSProxy) StartServer ¶ added in v1.0.20230907
func (p *WSProxy) StartServer()
func (*WSProxy) StopServer ¶ added in v1.0.20230907
func (p *WSProxy) StopServer()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.