grpcKit

package
v3.1.107 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDeadlineExceededError

func IsDeadlineExceededError(err error) bool

IsDeadlineExceededError

@param err 可以为nil

func NewResolverBuilder added in v3.0.82

func NewResolverBuilder(scheme string, hosts []string) (resolver.Builder, error)

NewResolverBuilder 用于: grpc客户端负载均衡(slb).

PS: 第2个返回值为nil的情况下,应该将第1个返回值作为传参调用 resolver.Register().

@param scheme 协议(不能有大写字符)

Types

This section is empty.

Jump to

Keyboard shortcuts

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