13 lines
126 B
Go
13 lines
126 B
Go
|
package srt
|
||
|
|
||
|
import (
|
||
|
"net"
|
||
|
)
|
||
|
|
||
|
type Tunnel struct {
|
||
|
socket net.PacketConn
|
||
|
peer net.Addr
|
||
|
queue chan *Packet
|
||
|
broken bool
|
||
|
}
|