api

package
v2.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2019 License: MIT Imports: 7 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL