Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterBuilder ¶
type ClusterBuilder struct {
// contains filtered or unexported fields
}
func NewClusterBuilder ¶
func NewClusterBuilder(r registry.Registry, service string, dialOptions ...grpc.DialOption) *ClusterBuilder
func (*ClusterBuilder) BuildUnaryInterceptor ¶
func (c *ClusterBuilder) BuildUnaryInterceptor() grpc.UnaryClientInterceptor
BuildUnaryInterceptor 创建gRpc的一元拦截器,用于处理 gRPC 的单向调用
Click to show internal directories.
Click to hide internal directories.