clientconn

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Overview

Package clientconn - chain element for injecting a grpc.ClientConnInterface into the client chain

Package clientconn - chain element for injecting a grpc.ClientConnInterface into the client chain

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(ctx context.Context)

Delete deletes the value for a key.

func Load

Load returns the value stored in the map for a key, or nil if no value is present. The ok result indicates whether value was found in the map.

func LoadAndDelete

func LoadAndDelete(ctx context.Context) (grpc.ClientConnInterface, bool)

LoadAndDelete deletes the value for a key, returning the previous value if any. The loaded result reports whether the key was present.

func LoadOrStore

LoadOrStore returns the existing value for the key if present. Otherwise, it stores and returns the given value. The loaded result is true if the value was loaded, false if stored.

func NewNetworkServiceEndpointRegistryClient

func NewNetworkServiceEndpointRegistryClient() registry.NetworkServiceEndpointRegistryClient

NewNetworkServiceEndpointRegistryClient - returns a new null client that does nothing but call next.NetworkServiceEndpointRegistryClient(ctx).

func NewNetworkServiceRegistryClient

func NewNetworkServiceRegistryClient() registry.NetworkServiceRegistryClient

NewNetworkServiceRegistryClient - returns a new null client that does nothing but call next.NetworkServiceRegistryClient(ctx).

func Store

func Store(ctx context.Context, cc grpc.ClientConnInterface)

Store sets the value for a key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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