broadcast

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UseBroadCast

func UseBroadCast(ctx context.Context) context.Context

UseBroadCast returns a new context with broadcast enabled

Types

type ClusterBuilder

type ClusterBuilder struct {
	// contains filtered or unexported fields
}

ClusterBuilder is a structure for building and handling RPC calls within a cluster of services.

func NewClusterBuilder

func NewClusterBuilder(registry registry.Registry, service string, dialOptions ...grpc.DialOption) *ClusterBuilder

NewClusterBuilder is a constructor for ClusterBuilder

func (*ClusterBuilder) BuildUnaryInterceptor

func (b *ClusterBuilder) BuildUnaryInterceptor() grpc.UnaryClientInterceptor

BuildUnaryInterceptor builds a unary interceptor for broadcast

Jump to

Keyboard shortcuts

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