Directories ¶
Path | Synopsis |
---|---|
Package csp provides an easy-to-use "Content Security Policy" implementation.
|
Package csp provides an easy-to-use "Content Security Policy" implementation. |
Package drpc provides a drop-in, lightweight gRPC replacement.
|
Package drpc provides a drop-in, lightweight gRPC replacement. |
middleware/client
Package client provides common extensions (middleware) required for production DRPC clients.
|
Package client provides common extensions (middleware) required for production DRPC clients. |
middleware/server
Package server provides common extensions (middleware) required for production DRPC servers.
|
Package server provides common extensions (middleware) required for production DRPC servers. |
ws
Package ws provides a WebSocket proxy with support for bidirectional streaming on DRPC servers.
|
Package ws provides a WebSocket proxy with support for bidirectional streaming on DRPC servers. |
Package http provide common utilities when deploying a production HTTP(S) service.
|
Package http provide common utilities when deploying a production HTTP(S) service. |
Package middleware provides common extensions required for production HTTP applications.
|
Package middleware provides common extensions required for production HTTP applications. |
cors
Package cors provides a "Cross Origin Resource Sharing" middleware.
|
Package cors provides a "Cross Origin Resource Sharing" middleware. |
gzip
Package gzip provides data compression of HTTP responses for clients that support it.
|
Package gzip provides data compression of HTTP responses for clients that support it. |
headers
Package headers provides a middleware to add HTTP headers to all generated responses.
|
Package headers provides a middleware to add HTTP headers to all generated responses. |
hsts
Package hsts provides a HTTP Strict Transport Security middleware implementation.
|
Package hsts provides a HTTP Strict Transport Security middleware implementation. |
logging
Package logging generates flexible logs from processed HTTP requests.
|
Package logging generates flexible logs from processed HTTP requests. |
metadata
Package metadata allows to set/get additional context details from/on HTTP requests.
|
Package metadata allows to set/get additional context details from/on HTTP requests. |
proxy
Package proxy adjust values managed by reverse proxy headers on incoming HTTP requests.
|
Package proxy adjust values managed by reverse proxy headers on incoming HTTP requests. |
rate
Package rate provides a rate limiter middleware based on a "token bucket" implementation.
|
Package rate provides a rate limiter middleware based on a "token bucket" implementation. |
recovery
Package recovery allows an HTTP server to recover from unhandled panic events.
|
Package recovery allows an HTTP server to recover from unhandled panic events. |
Package rpc provides a utilities and components to easily deploy a robust RPC network service.
|
Package rpc provides a utilities and components to easily deploy a robust RPC network service. |
ws
Package ws provides a WebSocket proxy with support for bidirectional streaming.
|
Package ws provides a WebSocket proxy with support for bidirectional streaming. |
Package sse provides a "Server-Send Events" server/client implementation.
|
Package sse provides a "Server-Send Events" server/client implementation. |
Click to show internal directories.
Click to hide internal directories.