turnhttp

package module
v0.0.0-...-3a074f7 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

README

turnhttp

TURN REST API credential server for webrtc

go get github.com/doug/turnhttp/turnhttp-server

https://tools.ietf.org/html/draft-uberti-rtcweb-turn-rest-00

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Hosts  []string
	Secret string
	Uris   []string
	TTL    time.Duration
}

func (*Service) ServeHTTP

func (self *Service) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type TurnResponse

type TurnResponse struct {
	Username string   `json:"username"`
	Password string   `json:"password"`
	Uris     []string `json:"uris"`
	TTL      int      `json:"ttl"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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