Skip to content
This repository has been archived by the owner on Nov 27, 2019. It is now read-only.

citahub/cita-interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Provide the type of interaction between the cita-node interaction type and the cita component, use protobuf to generate the corresponding file. And have generated files for the following languages in advance:

  • Rust
  • go
  • javascript
  • java

You can use them directly, and be free to use the proto files in protos directory to generate to the languages you needed.

Dependences

Generate rust files:

Generate go files:

Currently only supports these versions. If there is a break version, it is temporarily not supported.

Usage

  1. Install google protoc

  2. Generate rust files, install rust plugin

$ cargo install protobuf --vers 1.4.4
$ cargo install grpc-compiler
  1. Generate go files, install go plugin
$ go get -u github.com/lleveque/protoc-gen-go

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published