stream-server/srt/tunnel.go

12 lines
126 B
Go

package srt
import (
"net"
)
type Tunnel struct {
socket net.PacketConn
peer net.Addr
queue chan *Packet
broken bool
}