clientconn

package
v1.2.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2022 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Overview

Code generated by "-output map.gen.go -type stringCCMap<string,google.golang.org/grpc.ClientConnInterface> -output map.gen.go -type stringCCMap<string,google.golang.org/grpc.ClientConnInterface>"; DO NOT EDIT.

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