Documentation
¶
Overview ¶
Package gateway is an example of gRPC-Gateway server
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// Addr is the address to listen
Addr string
// GRPCServer defines an endpoint of a gRPC service
GRPCServer Endpoint
// OpenAPIDir is a path to a directory from which the server
// serves OpenAPI specs.
OpenAPIDir string
// Mux is a list of options to be passed to the gRPC-Gateway multiplexer
Mux []gwruntime.ServeMuxOption
}
Options is a set of options to be passed to Run
Click to show internal directories.
Click to hide internal directories.