Relay pairs connections by room name and pipes bytes between them, with no password/PAKE handshake at the relay layer — codephrase-based encryption is left to the client side of the transfer.
10 lines
176 B
Go
10 lines
176 B
Go
package tcp
|
|
|
|
import "time"
|
|
|
|
const (
|
|
DEFAULT_LOG_LEVEL = "debug"
|
|
DEFAULT_ROOM_CLEANUP_INTERVAL = 10 * time.Minute
|
|
DEFAULT_ROOM_TTL = 3 * time.Hour
|
|
)
|