Versions in this module Expand all Collapse all v0 v0.6.0 Aug 10, 2022 v0.5.0 Aug 10, 2022 Changes in this version + var ParamErr = fmt.Errorf("param error") + func GetTimeout(header http.Header, defaultTimeout time.Duration) time.Duration + func NewRequestParser(r *http.Request, resolver jsonpb.AnyResolver) (grpcurl.RequestParser, error) + func ProcessHeaders(header http.Header) []string + type JSONRequestParser struct + func NewJSONRequestParser(r *http.Request, resolver jsonpb.AnyResolver) (*JSONRequestParser, error) + func (f *JSONRequestParser) Next(m proto.Message) error + func (f *JSONRequestParser) NumRequests() int + type Method struct + HttpMethod string + HttpPath string + RpcPath string + func GetMethods(source grpcurl.DescriptorSource) ([]Method, error)