Documentation
¶
Overview ¶
Package turn provides utilities to run a TURN server
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type TURN ¶
type TURN struct {
PublicIP string
Realm string
Port int
Protocol string
// contains filtered or unexported fields
}
func New ¶
New returns a new TURN instance or an error 'publicIP' is the public IP which can be contacted by users via the internet 'realm' is the realm this TURN server runs under, usually your domain, defaults to chapper.dev 'port' the port this TURN server listens on, defaults to 50554
Source Files
¶
- turn.go
Click to show internal directories.
Click to hide internal directories.