package
1.4.0
Repository: https://github.com/pion/turn.git
Documentation: pkg.go.dev

# Functions

GetRandomEvenPort returns a random un-allocated udp4 port.
NewAllocation creates a new instance of NewAllocation.
NewChannelBind creates a new ChannelBind.
NewManager creates a new instance of Manager.
NewPermission create a new Permission.

# Constants

Network protocols for relay.
Network protocols for relay.

# Structs

Allocation is tied to a FiveTuple and relays traffic use CreateAllocation and GetAllocation to operate.
ChannelBind represents a TURN Channel https://tools.ietf.org/html/rfc5766#section-2.5.
FiveTuple is the combination (client IP address and port, server IP address and port, and transport protocol (currently one of UDP, TCP, or TLS)) used to communicate between the client and the server.
Manager is used to hold active allocations.
ManagerConfig a bag of config params for Manager.
Permission represents a TURN permission.
ReservationManager is used to manage reservations.

# Type aliases

Protocol is an enum for relay protocol.