{"id":50145,"library":"hashicorp-go-sockaddr","title":"go-sockaddr","description":"Package sockaddr is a Go implementation of the UNIX socket family data types and related helper functions.","status":"active","version":"1.0.7","language":"go","source_language":null,"source_url":"https://github.com/hashicorp/go-sockaddr","tags":["sockets","networking","ip-address"],"install":[{"cmd":"go get github.com/hashicorp/go-sockaddr","lang":"bash","label":"Install github.com/hashicorp/go-sockaddr"}],"dependencies":[],"imports":[{"symbol":"sockaddr","correct":"github.com/hashicorp/go-sockaddr"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/hashicorp/go-sockaddr\"\n)\n\nfunc main() {\n\tip, _ := sockaddr.GetPrivateIP()\n\tfmt.Printf(\"Private IP: %s\\n\", ip)\n}","lang":"go","description":"Gets the private IP address of the machine."},"warnings":[],"env_vars":null,"search_vec":"'address':25 'data':15 'famili':14 'function':20 'go':2,8 'go-sockaddr':1 'helper':19 'implement':9 'ip':24 'ip-address':23 'network':22 'packag':4 'relat':18 'sockaddr':3,5 'socket':13,21 'type':16 'unix':12","created_at":"2026-06-15T04:42:13.303864+00:00","updated_at":"2026-06-15T04:42:13.303864+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/hashicorp/go-sockaddr","github":"https://github.com/hashicorp/go-sockaddr","docs":"https://pkg.go.dev/github.com/hashicorp/go-sockaddr#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}