sdk

package
v0.0.0-...-0642f7a Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 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