service

package
v0.0.0-...-ff21fab Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2015 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_STREAM_DURATION = 3 * time.Hour
)

Variables

View Source
var (
	VERSION = os.Getenv("VERSION")

	BUILD = os.Getenv("BUILD")
)
View Source
var (

	Node string

	Host string
)

Functions

func Info

func Info(w http.ResponseWriter, r *http.Request)

func StreamKey

func StreamKey(w http.ResponseWriter, r *http.Request)

Types

type NodeInfo

type NodeInfo struct {
	Version   string `json:"version"`
	Build     string `json:"build"`
	Timestamp string `json:"current_time"`
}

type StreamKeyAuth

type StreamKeyAuth struct {
	Username string `json: "username"`
	Password string `json: "password"`
}

type StreamKeyResponse

type StreamKeyResponse struct {
	Endpoint string
	Node     string
	Key      string
	Auth     StreamKeyAuth
}

Jump to

Keyboard shortcuts

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