inigo-rs 0.30.11

Inigo plugin
docs.rs failed to build inigo-rs-0.30.11
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

Overview

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

Integration

  1. Import the Inigo library in your Cargo.toml
[dependencies]
inigo-rs = "0.30.9"
  1. Register the plugin
use anyhow::Result;
use apollo_router::register_plugin;
use inigo_rs::Middleware;

register_plugin!("inigo", "middleware", Middleware);

fn main() -> Result<()> {
    apollo_router::main()
}
  1. Configure the plugin
plugins:
  inigo.middleware:
    token: "your-inigo-service-token"
  1. Placed a copy of Inigo lib file in the docker and set this env variable. For example:
INIGO_LIB_PATH=/inigo-linux-amd64.so

Documentation

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

License

Distributed under the MIT License.