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 helps to communicate with a cluster of services for a given `service`.
func NewClusterBuilder ¶
func NewClusterBuilder(registry registry.Registry, service string, dialOptions ...grpc.DialOption) *ClusterBuilder
NewClusterBuilder creates a new instance of ClusterBuilder with the provided parameters.
func (*ClusterBuilder) BuildUnaryInterceptor ¶
func (b *ClusterBuilder) BuildUnaryInterceptor() grpc.UnaryClientInterceptor
BuildUnaryInterceptor creates a grpc.UnaryClientInterceptor that supports broadcasting.
Click to show internal directories.
Click to hide internal directories.