grpc

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(
	target string,
	opts ...grpc.DialOption,
) (conn *grpc.ClientConn, err error)

NewClient is a wrapper around the `grpc.NewClient` function. Which strips the (`http` / `https`) schemes from the URL, and returns a new client using a plain url (<address>:<host>) as the target.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳