{"id":64417,"library":"database64128-tfo-go","title":"tfo-go","description":"Package tfo provides drop-in wrappers around Go's net package to enable TCP Fast Open on Linux, Windows, macOS, and FreeBSD.","status":"active","version":"1.1.2","language":"go","source_language":null,"source_url":"https://github.com/database64128/tfo-go","tags":["tcp","fast-open","networking","tfo","cross-platform"],"install":[{"cmd":"go get github.com/database64128/tfo-go","lang":"bash","label":"Install github.com/database64128/tfo-go"}],"dependencies":[],"imports":[{"symbol":"tfo","correct":"github.com/database64128/tfo-go"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/database64128/tfo-go\"\n)\n\nfunc main() {\n\tln, err := tfo.Listen(\"tcp\", \":8080\")\n\tif err != nil {\n\t\tfmt.Println(err)\n\t\treturn\n\t}\n\tdefer ln.Close()\n\tfmt.Println(\"Listening with TFO enabled\")\n}","lang":"go","description":"Creates a TCP listener with TCP Fast Open enabled."},"warnings":[{"fix":"Avoid using Windows for high-concurrency applications, or limit the number of connections.","message":"On Windows, all TFO operations block the current goroutine thread, which may impact concurrency.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Test thoroughly on FreeBSD before production use.","message":"FreeBSD support is untested and may have issues.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'around':11 'cross':34 'cross-platform':33 'drop':8 'drop-in':7 'enabl':17 'fast':19,29 'fast-open':28 'freebsd':26 'go':3,12 'linux':22 'maco':24 'net':14 'network':31 'open':20,30 'packag':4,15 'platform':35 'provid':6 'tcp':18,27 'tfo':2,5,32 'tfo-go':1 'window':23 'wrapper':10","created_at":"2026-06-17T16:55:48.943277+00:00","updated_at":"2026-06-17T16:55:48.943277+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/database64128/tfo-go","github":"https://github.com/database64128/tfo-go","docs":"https://pkg.go.dev/github.com/database64128/tfo-go#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-17","next_check":"2026-12-14","install_tag":null}}