https://github.com/driftluo/tentacle-go
Tentacle-go implementation
https://github.com/driftluo/tentacle-go
Last synced: about 1 year ago
JSON representation
Tentacle-go implementation
- Host: GitHub
- URL: https://github.com/driftluo/tentacle-go
- Owner: driftluo
- License: mit
- Created: 2020-05-15T10:19:08.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-19T00:09:56.000Z (over 2 years ago)
- Last Synced: 2025-03-31T22:11:23.154Z (over 1 year ago)
- Language: Go
- Size: 159 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/driftluo/tentacle) version
## Usage
### Example
```bash
$ go build example/tentacle_example/simple.go
$ ./simple server
```
On another terminal:
```bash
$ ./simple
```
Now you can see some data interaction information on the terminal.
### Communicate with the Rust version implementation
```bash
$ git clone https://github.com/nervosnetwork/tentacle.git
$ RUST_LOG=simple=info,tentacle=debug cargo run --example simple --features molc -- server
```
On another terminal:
```bash
$ 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.