Registry / serialization / apache-thrift

apache-thrift

JSON →
library0.23.0gogounverified

Package thrift provides a Go implementation of Apache Thrift for cross-language RPC.

go get github.com/apache/thrift
INSTALL
IMPORT
SIG · APACHE-THRIFT
A
apache-thrift
serializationgov0.23.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

thrift
github.com/apache/thrift/lib/go/thrift

Creates a Thrift socket transport and connects to a server.

package main import ( "fmt" "github.com/apache/thrift/lib/go/thrift" ) func main() { transport, err := thrift.NewTSocket("localhost:9090") if err != nil { panic(err) } defer transport.Close() fmt.Println("Connected") }
Debug
Known issues
gotchaThe import path includes 'lib/go/thrift'; ensure you use the correct subpackage.
fix
Use 'github.com/apache/thrift/lib/go/thrift' as the import path.
affects: all
Upgrade
Version history
0.23.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
40 hits · last 30 days
node
36
OpenAI (training)
1
Resources
apache-thrift — go get apache-thrift · libregistry