Skip to content

driftluo/tentacle-go

Repository files navigation

tentacle-go

Tentacle-go implementation

The tentacle framework has been running in the production environment for a long time, this project is a verification project used to verify the feasibility of the multi-language implementation of the tentacle framework, while ensuring the performance of the implementation as much as possible, but will not do a wider range of performance optimization work.

Development status

At present, example can communicate normally with the Rust version

Usage

Example

$ go build example/tentacle_example/simple.go
$ ./simple server

On another terminal:

$ ./simple

Now you can see some data interaction information on the terminal.

Communicate with the Rust version implementation

$ git clone https://github.com/nervosnetwork/tentacle.git
$ RUST_LOG=simple=info,tentacle=debug cargo run --example simple --features molc -- server

On another terminal:

$ go build example/tentacle_example/simple.go
$ ./simple

Or, you can use Go's server to communicate with Rust's client

API

Most of the api implementations are similar to the Rust version, mainly considering the comparison of the production version, but the Go The implementation has been streamlined and adapted to the Go language.

About

Tentacle-go implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published