Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SignalingServer ¶
func New ¶
func New( Authorized_Origins []string, TURN_Only bool, ) *SignalingServer
New initializes a new SignalingServer with the given allowed origins and TURN only setting. The returned SignalingServer object contains the underlying structs.Server and a func that can be used to mount the WebSocket handler on a fiber.Router.
Click to show internal directories.
Click to hide internal directories.