mirror of https://github.com/ginuerzh/gost
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
306 B
18 lines
306 B
package tcp
|
|
|
|
import "net"
|
|
|
|
type nodeClient struct {
|
|
}
|
|
|
|
func (c *nodeClient) Connect() (net.Conn, error) {
|
|
return nil, nil
|
|
}
|
|
|
|
func (c *nodeClient) Handshake(conn net.Conn) (net.Conn, error) {
|
|
return conn, nil
|
|
}
|
|
|
|
func (c *nodeClient) Dial(conn net.Conn, addr string) (net.Conn, error) {
|
|
return nil, nil
|
|
}
|
|
|