Versions in this module Expand all Collapse all v0 v0.1.1 Jan 11, 2021 v0.1.0 Sep 14, 2020 Changes in this version + type Compressor func(w http.ResponseWriter) ResponseWriter + type Decompressor func(r io.Reader) io.Reader + type GRPC struct + func New(address string, serv *grpc.Server, options ...Option) (*GRPC, error) + func (g *GRPC) ListeningOn() net.Addr + func (g *GRPC) Port() int + func (g *GRPC) SetHTTPServer(serv *http.Server) + func (g *GRPC) Start() error + func (g *GRPC) Stop() + type GWRegistrationFunc func(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) error + type HTTPWrapper func(next http.Handler) http.Handler + type Option func(g *GRPC) + func Gateway(mux *runtime.ServeMux, fn GWRegistrationFunc, wrappers []HTTPWrapper, ...) Option + func HTTP(mux *http.ServeMux, wrappers []HTTPWrapper) Option + func HTTPCompress(encodingType string, compressor Compressor) Option + func HTTPDecompress(encodingType string, decompressor Decompressor) Option + func WithInsecure() Option + func WithTLS(certs []tls.Certificate) Option + func WrapHandlers(handlers ...HTTPWrapper) Option + type ResponseWriter interface