# Functions
Gateway provides a GRPC REST gateway proxy that will answer all calls that have the header Content-Type set to "application/grpc-gateway".
HTTP installs an http.ServeMux to handle all calls that do not have "application/grpc-gateway" or "application/grpc".
HTTPCompress compresses responses to HTTP clients if the client sent an Accept-Encoding for the type.
HTTPDecompress decompresses requests coming from the clients for REST matching on the client request's Encoding-Type.
New is the constructor for GRPC.
WithInsecure is required in order to run without a TLS certificate.
WithTLS secures all services (GRPC/REST/HTTP) with the TLS certificates passed.
WrapHandlers wraps both the muxer passed with Gateway() and the the muxer passed to HTTP() with the handlers passed here.
# Structs
GRPC wraps a GRPC server and optionally a GRPC Gateway and HTTP server on a single port.
# Interfaces
ResponseWriter is a composition of an io.WriteCloser and http.ResponseWriter.
# Type aliases
Compressor provides a function that composes an io.WriteCloser representing a compressor and the http.ResponseWriter into our local ResponseWriter that implements http.ResponseWriter with an additional Close() method for closing the compressor writes.
Decompressor takes an io.Reader and either compresses the content or decompresses the content to the returned io.ReadCloser.
GWRegistrationFunc is a function in your <service>.pb.gw.go file that is used to register a GRPC REST gateway to talk to the GRPC service.
HTTPWrapper provides an http.Hanlder that wraps another http.Handler.
Option provides an optional argument for the GRPC constructor.