package grpc_builder
import (
"fmt"
"google.golang.org/grpc/resolver"
)
const customResolverScheme = "custom"
type customResolverBuilder struct {
}
type customResolver struct {
target resolver.Target
cc resolver.ClientConn
}
func (*customResolverBuilder) Build(target resolver.Target,
Grpc 自定义解析器 resolver
最新推荐文章于 2024-04-20 13:37:30 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)