Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClientOpts ¶
func GetClientOpts(target string) (opts []grpc.DialOption)
GetClientOpts dial options for target.
func StopServer ¶
StopServer attempts to gracefully stop the server without permanently blocking.
Types ¶
type Credentials ¶
type Credentials struct {
Secure bool
}
Credentials implements PerRPCCredentials, allowing context values to be included in request metadata.
func (Credentials) GetRequestMetadata ¶
GetRequestMetadata gets the current request metadata.
func (Credentials) RequireTransportSecurity ¶
func (c Credentials) RequireTransportSecurity() bool
RequireTransportSecurity indicates whether the credentials requires transport security.
Click to show internal directories.
Click to hide internal directories.