{"id":51865,"library":"tv42-httpunix","title":"httpunix","description":"An HTTP transport that uses Unix domain sockets instead of TCP for net/http.","status":"active","version":"0.0.0-20191220191345-2ba4b9c3382c","language":"go","source_language":null,"source_url":"https://github.com/tv42/httpunix","tags":["http","unix","socket","transport","networking"],"install":[{"cmd":"go get github.com/tv42/httpunix","lang":"bash","label":"Install github.com/tv42/httpunix"}],"dependencies":[],"imports":[{"symbol":"httpunix","correct":"github.com/tv42/httpunix"}],"quickstart":{"code":"package main\n\nimport (\n\t\"net/http\"\n\t\"github.com/tv42/httpunix\"\n)\n\nfunc main() {\n\tt := &httpunix.Transport{\n\t\tDialTimeout:           100,\n\t\tRequestTimeout:        100,\n\t\tResponseHeaderTimeout: 100,\n\t}\n\tt.RegisterLocation(\"myservice\", \"/var/run/myservice.sock\")\n\tclient := &http.Client{Transport: t}\n\tresp, err := client.Get(\"http+unix://myservice/path\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer resp.Body.Close()\n}","lang":"go","description":"Create an HTTP client that communicates via Unix socket"},"warnings":[],"env_vars":null,"search_vec":"'domain':8 'http':3,15 'httpunix':1 'instead':10 'net/http':14 'network':19 'socket':9,17 'tcp':12 'transport':4,18 'unix':7,16 'use':6","created_at":"2026-06-15T06:33:02.160281+00:00","updated_at":"2026-06-15T06:33:02.160281+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/tv42/httpunix","github":"https://github.com/tv42/httpunix","docs":"https://pkg.go.dev/github.com/tv42/httpunix#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking","http-client"],"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}}