internal/

directory
v2.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2026 License: MIT

Directories

Path Synopsis
Package acceptance is the conformance suite of the gqlhash proxy: what it does, stated against a running server rather than the Go code serving it.
Package acceptance is the conformance suite of the gqlhash proxy: what it does, stated against a running server rather than the Go code serving it.
Package allowlist holds the GraphQL documents a request may carry.
Package allowlist holds the GraphQL documents a request may carry.
app
config
Package config is the configuration vocabulary of the commands: which hash function to use, which output format, and how much of a document to leave out.
Package config is the configuration vocabulary of the commands: which hash function to use, which output format, and how much of a document to leave out.
hasher
Package hasher is the hashing command line interface of gqlhash.
Package hasher is the hashing command line interface of gqlhash.
proxy
Package proxy serves an allowlist of GraphQL documents in front of a GraphQL API.
Package proxy serves an allowlist of GraphQL documents in front of a GraphQL API.
proxyfast
Package proxyfast serves gqlhash-proxy with fasthttp instead of net/http, on both sides: it takes the traffic and carries a forwarded request upstream.
Package proxyfast serves gqlhash-proxy with fasthttp instead of net/http, on both sides: it takes the traffic and carries a forwarded request upstream.
versioninfo
Package versioninfo writes what a command answers -version with: the name it ran as, its release version, and the notice they're released under.
Package versioninfo writes what a command answers -version with: the name it ran as, its release version, and the notice they're released under.
cmd
loadtest command
Command loadtest measures a gqlhash proxy end to end: it serves a GraphQL API, puts the proxy in front of it, drives both the forwarded and the rejected path with wrk, and reports what the proxy spent holding the rate.
Command loadtest measures a gqlhash proxy end to end: it serves a GraphQL API, puts the proxy in front of it, drives both the forwarded and the rejected path with wrk, and reports what the proxy spent holding the rate.
Package gqlhashtest holds what the tests of this module read from: documents that must be rejected, and a hash that does nothing.
Package gqlhashtest holds what the tests of this module read from: documents that must be rejected, and a hash that does nothing.
Package unicodeesc reads the \uXXXX escape that JSON and GraphQL share.
Package unicodeesc reads the \uXXXX escape that JSON and GraphQL share.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL