package
0.79.0-preview.4
Repository: https://github.com/vegaprotocol/vega.git
Documentation: pkg.go.dev
# README
API Gateways
This package provides GraphQL & REST gateways. These are connected in to the core via GRPC.
# Functions
Chain builds the middleware Chain recursively, functions are first class.
No description provided by the author
No description provided by the author
MetricCollectionMiddleware records the request and the time taken to service it.
NewDefaultConfig creates an instance of the package specific configuration, given a pointer to a logger instance to be used for logging within the package.
No description provided by the author
RemoteAddrMiddleware is a middleware adding to the current request context the address of the caller.
No description provided by the author
# Variables
No description provided by the author
# Structs
Config represents the general configuration for the gateway.
GraphqlServiceConfig represents the configuration of the gateway.
No description provided by the author
RESTGatewayServiceConfig represent the configuration of the rest service.
ServerConfig represent the configuration of a server in vega.
No description provided by the author