KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
agent-plugins-grpc
★ 23
Open GitHub ↗
Agent plugins' gRPC definitions
Download README (.md)
Explore Similar Repositories
packwerk-vscode
:
Packwerk extension for Visual Studio Code
sa-cli
:
No description available.
Options-Max-Pain-Calculator
:
A python command line tool to calculate options max pain for a given company symbol and options expiry date.
NeuralFRG
:
No description available.
snunit-cli
:
CLI to run functions as HTTP services using SNUnit
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
agent-plugins-grpc
?
Download (.md)
# Agent plugins gRPC This repository contains all the schema used by plugins to communicate with the probe agent. ## Go (ThreatMapper) Run the Makefile located in this repository to generate all the gRPC go files: ``` make go ``` ## Rust (open-tracer) For Rust, we recommend to use `cargo` directly. Create a `build.rs` file alongside your `Cargo.toml`. Then add the following: ``` tonic_build::configure() .build_server(true) .compile( &[ "proto/common.proto", "proto/agent_plugin.proto", "proto/kernel_tracer.proto", "proto/open_tracer.proto", ], &["proto"], )?; Ok(()) ``` In your project `Cargo.toml`: ``` tonic = "0.6" prost = "0.9" futures = "0.3.19" ``` In your source code, you can start using protobuf output by including it like: ``` pub mod proto { pub mod common { tonic::include_proto!("common"); } pub mod kernel_tracer { tonic::include_proto!("kernel_tracer"); } pub mod agent_plugin { tonic::include_proto!("agent_plugin"); } pub mod open_tracer { tonic::include_proto!("open_tracer"); } } ```