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.
 
 

10 lines
214 B

package gost
import "net"
// Client represents a node client
type Client interface {
Connect() (net.Conn, error)
Handshake(conn net.Conn) (net.Conn, error)
Dial(conn net.Conn, addr string) (net.Conn, error)
}