collider

package
v0.0.0-...-0feb035 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2018 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Overview

Package collider implements a signaling server based on WebSocket.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collider

type Collider struct {
	// contains filtered or unexported fields
}

func NewCollider

func NewCollider(rs string) *Collider

func (*Collider) AddHandle

func (c *Collider) AddHandle(WebServeMux *http.ServeMux)

func (*Collider) Run

func (c *Collider) Run(wssPort int, wsPort int, pem, key string)

Run starts the collider server and blocks the thread until the program exits.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL