artbin / go-stun

a go implementation of the STUN client (RFC 3489 and RFC 5389)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-stun

go-stun is a STUN (RFC 3489, 5389) client implementation in golang.

It is extremely easy to use -- just one line of code.

import "github.com/ccding/go-stun/stun"

func main() {
	nat, host, err := stun.Discover()
}

More details please go to example.go.

About

a go implementation of the STUN client (RFC 3489 and RFC 5389)

License:Apache License 2.0


Languages

Language:Go 100.0%