grpcclient

package
v0.0.0-...-9135e14 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildDialOption

func BuildDialOption(ctx context.Context, block bool, serverServiceName string) []grpc.DialOption

func EnableQuic

func EnableQuic(ctx context.Context, enable bool) context.Context

func NewClientConn

func NewClientConn(ctx context.Context, block bool, serverAddr string, serverServiceName string) (*grpc.ClientConn, error)

func NewClientConnByResolverBuilder

func NewClientConnByResolverBuilder(ctx context.Context, serviceInfo configuration.ServiceInfo, resolverBuilders ...resolver.Builder) (*grpc.ClientConn, error)

func NewClientConnByServiceInfo

func NewClientConnByServiceInfo(ctx context.Context, serviceInfo configuration.ServiceInfo, block bool) (*grpc.ClientConn, error)

func SetInsecureSkipVerifyCerds

func SetInsecureSkipVerifyCerds(ctx context.Context) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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