api

package module
v0.0.0-...-6a0c198 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: MIT Imports: 7 Imported by: 108

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

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