iceutil

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RunesAlpha = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
	RunesDigit = "0123456789"
)

Variables

This section is empty.

Functions

func AssertInboundMessageIntegrity

func AssertInboundMessageIntegrity(m *stun.Message, key []byte) error

func AssertInboundUsername

func AssertInboundUsername(m *stun.Message, expectedUsername string) error

func GeneratePwd

func GeneratePwd() (string, error)

func GenerateUFrag

func GenerateUFrag() (string, error)

func ParseAddr

func ParseAddr(in net.Addr) (net.IP, int, ice.NetworkType, bool)

Types

This section is empty.