Versions in this module Expand all Collapse all v1 v1.0.0 Jan 28, 2018 Changes in this version + const DefaultMaxRecvMsgSize + const DefaultMaxSendMsgSize + func ServeGRPC(service GRPCService, grpcAddr string, opts []grpc.ServerOption) error + func ServeGRPCWithTLS(service GRPCService, grpcAddr string, opts []grpc.ServerOption, ...) error + func ServeHTTP(service HTTPService, httpAddr string, grpcAddr string, enableCORS bool, ...) error + func ServeHTTPWithTLS(service HTTPService, httpAddr string, grpcAddr string, enableCORS bool, ...) error + type GRPCService interface + RegisterServer func(grpc *grpc.Server) + type HTTPService interface + RegisterHandler func(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) error + type Hoster struct + CertFile string + DebugAddr string + EnableCORS bool + GRPCAddr string + HTTPAddr string + InsecureSkipVerify bool + KeyFile string + Logger func(format string, v ...interface{}) + MaxRecvMsgSize int + MaxSendMsgSize int + Service GRPCService + StreamInterceptors []grpc.StreamServerInterceptor + UnaryInterceptors []grpc.UnaryServerInterceptor + func NewHoster(service GRPCService, grpcAddr string) *Hoster + func (h *Hoster) IsTLSEnabled() bool + func (h *Hoster) ListenAndServe() error Incompatible versions in this module v2.1.1+incompatible Aug 12, 2018 v2.1.0+incompatible Jul 21, 2018 v2.0.0+incompatible Mar 6, 2018