Versions in this module Expand all Collapse all v0 v0.0.2 Apr 15, 2024 Changes in this version + var AllKnownReflectProtocolStrings = []string + func DefaultUserAgent(protocol string, bufVersion string) string + func ErrorHasFilename(err error, filename string) error + func GetAuthority(url *url.URL, headers http.Header) string + func LoadHeaders(headerFlags []string, dataFile string, others http.Header) (http.Header, io.ReadCloser, error) + func MakeVerboseTLSConfig(settings *TLSSettings, authority string, printer verbose.Printer) (*tls.Config, error) + func NewServerReflectionResolver(ctx context.Context, httpClient connect.HTTPClient, ...) (r protoencoding.Resolver, closeResolver func()) + func NewVerboseHTTPClient(transport http.RoundTripper, printer verbose.Printer) connect.HTTPClient + func ResolveMethodDescriptor(res protoencoding.Resolver, service, method string) (protoreflect.MethodDescriptor, error) + func TraceTrailersInterceptor(printer verbose.Printer) connect.Interceptor + type Invoker interface + Invoke func(ctx context.Context, dataSource string, data io.Reader, headers http.Header) error + func NewInvoker(container appflag.Container, md protoreflect.MethodDescriptor, ...) Invoker + type ReflectProtocol int + const ReflectProtocolGRPCV1 + const ReflectProtocolGRPCV1Alpha + const ReflectProtocolUnknown + func ParseReflectProtocol(s string) (ReflectProtocol, error) + func (r ReflectProtocol) String() string + type TLSSettings struct + CACertFile string + CertFile string + HTTP2PriorKnowledge bool + Insecure bool + KeyFile string + ServerName string