package
0.1.3
Repository: https://github.com/monadicstack/abide.git
Documentation: pkg.go.dev

# Functions

NewGateway creates a new API Gateway that allows your service to accept incoming requests using RPC over HTTP.
WithMiddleware inserts the following chain of HTTP handlers so that they fire before the actual HTTP handler we generate for your service endpoint.
WithTLSConfig allows the gateway's underlying HTTP server to handle HTTPS requests using the configuration you provide.
WithTLSFiles allows the gateway's underlying HTTP server to handle HTTPS requests using the cert/key files provided.

# Structs

Gateway encapsulates all of the HTTP(S) server and routing components that enable your service to accept incoming requests over RPC/HTTP.

# Type aliases

GatewayOption defines a setting you can apply when creating an RPC gateway via 'NewGateway'.
HTTPMiddlewareFunc is a function that can intercept HTTP requests going through your API gateway, allowing you to directly manipulate the HTTP request/response as needed.
HTTPMiddlewareFuncs defines an ordered pipeline of middleware functions you want an endpoint in your API gateway to perform.