Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterBuilder ¶
type ClusterBuilder struct {
// contains filtered or unexported fields
}
ClusterBuilder struct for building client interceptors with distributed service discovery.
func NewClusterBuilder ¶
func NewClusterBuilder(registry registry.Registry, service string, dialOptions ...grpc.DialOption) *ClusterBuilder
NewClusterBuilder creates a new ClusterBuilder instance.
func (*ClusterBuilder) BuildUnaryInterceptor ¶
func (b *ClusterBuilder) BuildUnaryInterceptor() grpc.UnaryClientInterceptor
BuildUnaryInterceptor constructs a unary client interceptor for broadcasting RPCs across instances.
Click to show internal directories.
Click to hide internal directories.