Documentation ¶
Index ¶
- func New(ctx context.Context, cfg *xrpc.Configs) (*grpc.ClientConn, error)
- func UseBreakerStreamInterceptor(cb breaker.Breaker) grpc.StreamClientInterceptor
- func UseBreakerUnaryInterceptor(cb breaker.Breaker) grpc.UnaryClientInterceptor
- func UseCircuiBreaker(ctx context.Context, cfg *xrpc.Configs) ([]grpc.DialOption, error)
- func WithRetry(ctx context.Context, cfg *xrpc.Configs) ([]grpc.DialOption, error)
- func WithTLS(ctx context.Context, cfg *xrpc.Configs) ([]grpc.DialOption, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UseBreakerStreamInterceptor ¶
func UseBreakerStreamInterceptor(cb breaker.Breaker) grpc.StreamClientInterceptor
func UseBreakerUnaryInterceptor ¶
func UseBreakerUnaryInterceptor(cb breaker.Breaker) grpc.UnaryClientInterceptor
func UseCircuiBreaker ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.