Versions in this module Expand all Collapse all v0 v0.0.0 Nov 23, 2022 Changes in this version + const ContentTypeJSON + const ContentTypeProto + const IgnoreNR + const NRTxNameTypeFullMethod + const NRTxNameTypeMethod + const NRTxNameTypeRoute + var ContentTypeMap = map[string]string + var DefaultHTTPResponseHeaders = []string + func AcceptTypeFromHeaders(ctx context.Context) string + func ContentTypeFromHeaders(ctx context.Context) string + func DefaultEncoder(req *http.Request, r interface{}, JSONPB bool) error + func DefaultWSUpgrader(w http.ResponseWriter, r *http.Request, responseHeader http.Header) (*websocket.Conn, error) + func GrpcErrorToHTTP(err error, defaultStatus int, defaultMessage string) (int, string) + func NewHTTPHandler(config Config) handlers.Handler + type Config struct + DefaultJSONPB bool + EnableProtoURL bool + NRHttpTxNameType string