ice

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// New ICE agent is gathering addresses
	New = iota + 1

	// Checking ICE agent has been given local and remote candidates, and is attempting to find a match
	Checking

	// Connected ICE agent has a pairing, but is still checking other pairs
	Connected

	// Completed ICE agent has finished
	Completed

	// Failed ICE agent never could sucessfully connect
	Failed

	// Failed ICE agent connected sucessfully, but has entered a failed state
	Disconnected

	// Closed ICE agent has finished and is no longer handling requests
	Closed
)

List of supported States

Variables

This section is empty.

Functions

func HostInterfaces

func HostInterfaces() (ips []string)

HostInterfaces generates a slice of all the IPs associated with interfaces

Types

type ConnectionState

type ConnectionState int

ConnectionState is an enum showing the state of a ICE Connection

func (ConnectionState) String

func (c ConnectionState) String() string

Jump to

Keyboard shortcuts

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