sdk

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2018 License: MIT 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