package
0.0.0-20240311165601-da789b0b04e2
Repository: https://github.com/protoflow-labs/protoflow.git
Documentation: pkg.go.dev

# Packages

Package normalpath provides functions similar to filepath.
No description provided by the author
No description provided by the author
No description provided by the author
Package stringutil implements string utilities.
No description provided by the author

# Functions

DefaultUserAgent returns the default user agent for the given protocol.
DescriptorKind returns a succinct description of the type of the given descriptor.
ErrorHasFilename makes sure that the given error includes a reference to the given filename.
GetAuthority determines the authority for a request with the given URL and request headers.
LoadHeaders computes the set of request headers from the given flag values, loading from file(s) if so instructed.
MakeVerboseTLSConfig constructs a *tls.Config that logs information to the given printer as a TLS connection is negotiated.
NewInvoker creates a new invoker for invoking the method described by the given descriptor.
NewServerReflectionResolver creates a new resolver using the given details to create an RPC reflection client, to ask the server for descriptors.
NewVerboseHTTPClient creates a new HTTP client with the given transport and printing verbose trace information to the given printer.
ParseReflectProtocol parses the ReflectProtocol.
ResolveMethodDescriptor uses the given resolver to find a descriptor for the requested service and method.
TraceTrailersInterceptor returns an interceptor that will print information about trailers for streaming calls to the given printer.

# Constants

ReflectProtocolGRPCV1 represents the gRPC server reflection protocol defined by the service grpc.reflection.v1.ServerReflection.
ReflectProtocolGRPCV1Alpha represents the gRPC server reflection protocol defined by the service grpc.reflection.v1alpha.ServerReflection.
ReflectProtocolUnknown represents that the server reflection protocol is unknown.

# Variables

AllKnownReflectProtocolStrings are all string values for ReflectProtocol that represent known reflection protocols.

# Structs

No description provided by the author
No description provided by the author
TLSSettings contains settings related to creating a TLS client.
No description provided by the author

# Interfaces

Invoker provides the ability to invoke RPCs dynamically.

# Type aliases

ReflectProtocol is a reflection protocol.