adapter

package
v3.4.6 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package adapter provides gRPC adapters between client and server gRPC interfaces without needing to go through a gRPC connection.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthServerToAuthClient

func AuthServerToAuthClient(as pb.AuthServer) pb.AuthClient

func ClusterServerToClusterClient

func ClusterServerToClusterClient(cls pb.ClusterServer) pb.ClusterClient

func KvServerToKvClient

func KvServerToKvClient(kvs pb.KVServer) pb.KVClient

func LeaseServerToLeaseClient

func LeaseServerToLeaseClient(ls pb.LeaseServer) pb.LeaseClient

func LockServerToLockClient

func LockServerToLockClient(ls v3lockpb.LockServer) v3lockpb.LockClient

func MaintenanceServerToMaintenanceClient

func MaintenanceServerToMaintenanceClient(mts pb.MaintenanceServer) pb.MaintenanceClient

func WatchServerToWatchClient

func WatchServerToWatchClient(wserv pb.WatchServer) pb.WatchClient

Types

This section is empty.

Jump to

Keyboard shortcuts

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