grpcclient

package
v0.0.0-...-015ad48 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildDialOption

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

func EnableQuic

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

func GetPerRPCCredentials

func GetPerRPCCredentials(ctx context.Context) credentials.PerRPCCredentials

func NewClientConn

func NewClientConn(ctx context.Context, 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) (*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