Documentation ¶
Index ¶
- Constants
- Variables
- func Address(host, port string) string
- func HostPort(host, port string) string
- func IsLocalHost(m *ice.Message, ip string) bool
- func Prefix(arg ...ice.Any) string
- func PublishLocalhost(m *ice.Message, url string) string
- func UDPAddr(m *ice.Message, host, port string) *net.UDPAddr
- type Buf
- type Conn
- type Listener
- type PeekConn
- type Stat
Constants ¶
View Source
const ( UDP4 = "udp4" SEND = "send" RECV = "recv" )
View Source
const ( LOCALHOST = "localhost" ISLOCAL = "islocal" PUBLISH = "publish" GATEWAY = "gateway" )
View Source
const ( BEGIN = "begin" CURRENT = "current" RANDOM = "random" END = "end" )
View Source
const ( PROTOCOL = "protocol" HOSTPORT = "hostport" HOSTNAME = "hostname" NODENAME = "nodename" )
View Source
const ( PROTO = "proto" STATUS = "status" ERROR = "error" START = "start" OPEN = "open" CLOSE = "close" STOP = "stop" )
View Source
const CLIENT = "client"
View Source
const (
DIAL = "dial"
)
View Source
const HOST = "host"
View Source
const (
LISTEN = "listen"
)
View Source
const PORT = "port"
View Source
const SERVER = "server"
View Source
const TCP = "tcp"
Variables ¶
Functions ¶
Types ¶
type Buf ¶ added in v1.5.5
type Buf struct {
// contains filtered or unexported fields
}
type Conn ¶
type Listener ¶
type PeekConn ¶ added in v1.5.5
type Stat ¶
type Stat struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.