/go-stun

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

Primary LanguageGoApache License 2.0Apache-2.0

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.