Crates.io | inigo-rs |
lib.rs | inigo-rs |
version | 0.30.15 |
source | src |
created_at | 2022-11-05 16:15:52.911255 |
updated_at | 2024-11-18 00:34:52.8498 |
description | Inigo plugin |
homepage | |
repository | https://github.com/inigolabs/inigo-rs |
max_upload_size | |
id | 705918 |
size | 72,254 |
Gain instant monitoring and protection into GraphQL APIs. Unblock platform teams and accelerate GraphQL adoption. Inigo's platform integration offers GraphQL Security, Analytics, Rate-limiting, Access Control and more.
This package is the Inigo plugin for the Apollo Rust Router
[dependencies]
inigo-rs = "0.30.10"
use apollo_router::register_plugin;
use inigo_rs::registry::InigoRegistry;
use inigo_rs::Middleware;
register_plugin!("inigo", "middleware", Middleware);
fn main() {
// Initialize the Inigo Registry and start the Apollo Router
match InigoRegistry::new(None).and(apollo_router::main()) {
Ok(_) => {}
Err(e) => {
eprintln!("{}", e);
std::process::exit(1);
}
}
}
plugins:
inigo.middleware:
token: "your-inigo-service-token"
INIGO_LIB_PATH=/inigo-linux-amd64.so
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
Distributed under the MIT License.