Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllowInsecureFallback = false
AllowInsecureFallback can be set to true if you need to connect with a server that does not use TLS
View Source
var WaitForStreams = 100 * time.Millisecond
WaitForStreams indicates how long should be waited for a stream to start
Functions ¶
func Dial ¶
func Dial(target string) (*grpc.ClientConn, error)
Dial an address with default TLS config
func DialWithCert ¶
func DialWithCert(target string, cert string) (*grpc.ClientConn, error)
DialWithCert dials the target using the given TLS cert
Types ¶
type PayloadUnmarshaler ¶ added in v2.4.0
type PayloadUnmarshaler interface {
UnmarshalPayload() error
}
PayloadUnmarshaler unmarshals the Payload to a Message
Click to show internal directories.
Click to hide internal directories.