sdk

package
v0.0.0-...-3e0f7d7 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2017 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(addr string, opt *ClientOpt) (*grpc.ClientConn, error)

NewClient creates new grpc connection to the addr using the ClientOpt

Types

type ClientOpt

type ClientOpt struct {
	Crt, Key, ServerName, CaCrt   string
	InsecureSkipVerify, WithBlock bool
}

ClientOpt additional connection information

Jump to

Keyboard shortcuts

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