Code returns the error code for err if it was produced by the rpc system.
Creds returns a ServerOption that sets credentials for server connections.
CustomCodec returns a ServerOption that sets a codec for message marshaling and unmarshaling.
Dial creates a client connection to the given target.
DialContext creates a client connection to the given target.
ErrorDesc returns the error description of err if it was produced by the rpc system.
Errorf returns an error containing an error code and a description; Errorf returns nil if c is OK.
FailFast configures the action to take when an RPC is attempted on broken connections or unreachable servers.
FailOnNonTempDialError returns a DialOption that specified if gRPC fails on non-temporary dial errors.
Header returns a CallOptions that retrieves the header metadata for a unary RPC.
InTapHandle returns a ServerOption that sets the tap handle for all the server transport to be created.
Invoke sends the RPC request on the wire and returns after response is received.
MaxConcurrentStreams returns a ServerOption that will apply a limit on the number of concurrent streams to each ServerTransport.
MaxMsgSize returns a ServerOption to set the max message size in bytes for inbound mesages.
NewClientStream creates a new Stream for the client side.
NewGZIPCompressor creates a Compressor based on GZIP.
NewGZIPDecompressor creates a Decompressor based on GZIP.
NewServer creates a gRPC server which has no service registered and has not started to accept requests yet.
Peer returns a CallOption that retrieves peer information for a unary RPC.
RoundRobin returns a Balancer that selects addresses round-robin.
RPCCompressor returns a ServerOption that sets a compressor for outbound messages.
RPCDecompressor returns a ServerOption that sets a decompressor for inbound messages.
SendHeader sends header metadata.
SetHeader sets the header metadata.
SetTrailer sets the trailer metadata that will be sent when an RPC returns.
StatsHandler returns a ServerOption that sets the stats handler for the server.
StreamInterceptor returns a ServerOption that sets the StreamServerInterceptor for the server.
Trailer returns a CallOptions that retrieves the trailer metadata for a unary RPC.
UnaryInterceptor returns a ServerOption that sets the UnaryServerInterceptor for the server.
UnknownServiceHandler returns a ServerOption that allows for adding a custom unknown service handler.
WithAuthority returns a DialOption that specifies the value to be used as the :authority pseudo-header.
WithBackoffConfig configures the dialer to use the provided backoff parameters after connection failures.
WithBackoffMaxDelay configures the dialer to use the provided maximum delay when backing off after failed connection attempts.
WithBalancer returns a DialOption which sets a load balancer.
WithBlock returns a DialOption which makes caller of Dial blocks until the underlying connection is up.
WithCodec returns a DialOption which sets a codec for message marshaling and unmarshaling.
WithCompressor returns a DialOption which sets a CompressorGenerator for generating message compressor.
WithDecompressor returns a DialOption which sets a DecompressorGenerator for generating message decompressor.
WithDialer returns a DialOption that specifies a function to use for dialing network addresses.
WithInsecure returns a DialOption which disables transport security for this ClientConn.
WithKeepaliveParams returns a DialOption that specifies keepalive paramaters for the client transport.
WithMaxMsgSize returns a DialOption which sets the maximum message size the client can receive.
WithPerRPCCredentials returns a DialOption which sets credentials which will place auth state on each outbound RPC.
WithServiceConfig returns a DialOption which has a channel to read the service configuration.
WithStatsHandler returns a DialOption that specifies the stats handler for all the RPCs and underlying network connections in this ClientConn.
WithStreamInterceptor returns a DialOption that specifies the interceptor for streaming RPCs.
WithTimeout returns a DialOption that configures a timeout for dialing a ClientConn initially.
WithTransportCredentials returns a DialOption which configures a connection level security credentials (e.g., TLS/SSL).
WithUnaryInterceptor returns a DialOption that specifies the interceptor for unary RPCs.
WithUserAgent returns a DialOption that specifies a user agent string for all the RPCs.