13 lines
165 B
Go
13 lines
165 B
Go
|
package tor
|
||
|
|
||
|
import "net"
|
||
|
|
||
|
type OnionConf struct {
|
||
|
Port int
|
||
|
TargetPort int
|
||
|
}
|
||
|
|
||
|
func (t *Tor) Listen(conf *OnionConf) (net.Listener, error) {
|
||
|
panic("TODO")
|
||
|
}
|