Categorygithub.com/gbox-proxy/gbox
modulepackage
1.0.6
Repository: https://github.com/gbox-proxy/gbox.git
Documentation: pkg.go.dev

# README

Fast :zap: reverse proxy in front of any GraphQL server for caching, securing and monitoring.

Unit Tests codecov Go Report Card Go Reference Artifact Hub

Features

  • :floppy_disk: Caching
    • RFC7234 compliant HTTP Cache.
    • Cache query operations results through types.
    • Auto invalidate cache through mutation operations.
    • Swr query results in background.
    • Cache query results to specific headers, cookies (varies).
  • :closed_lock_with_key: Securing
    • Disable introspection.
    • Limit operations depth, nodes and complexity.
  • :chart_with_upwards_trend: Monitoring (Prometheus metrics)
    • Operations in flight.
    • Operations count.
    • Operations request durations.
    • Operations caching statuses.

How it works

Every single request sent by your clients will serve by GBox. The GBox reverse proxy will cache, validate, and collect metrics before pass through requests to your GraphQL server.

Diagram

Documentation

The GBox documentation can be browsed on Github page.

Inspiration

The GBox has been inspired by many others related work including:

Thanks to all the great people who created these projects!

# Packages

No description provided by the author
Copied from https://github.com/caddyserver/xcaddy/blob/b7fd102f41e12be4735dc77b0391823989812ce8/environment.go#L251.

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
CachingVary using to compute query result cache key by http request cookies and headers.
No description provided by the author
Handler implements an HTTP handler as a GraphQL reverse proxy server for caching, securing, and monitoring.
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author