summaryrefslogtreecommitdiff
path: root/vendor/google.golang.org/api/internal/conn_pool.go
diff options
context:
space:
mode:
authorNicolas Paul <n@nc0.fr>2023-04-16 20:09:08 +0200
committerNicolas Paul <n@nc0.fr>2023-04-16 20:09:08 +0200
commitefc9e73404efc108c69b4498acb312d760cf8e5d (patch)
treea6522428a9b92ff52ff4d590b23067b22e4960d5 /vendor/google.golang.org/api/internal/conn_pool.go
parent1f9284de04ae5c996e4218918822297280ede164 (diff)
Go mod tidy
Diffstat (limited to 'vendor/google.golang.org/api/internal/conn_pool.go')
-rw-r--r--vendor/google.golang.org/api/internal/conn_pool.go30
1 files changed, 0 insertions, 30 deletions
diff --git a/vendor/google.golang.org/api/internal/conn_pool.go b/vendor/google.golang.org/api/internal/conn_pool.go
deleted file mode 100644
index fedcce1..0000000
--- a/vendor/google.golang.org/api/internal/conn_pool.go
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2020 Google LLC.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package internal
-
-import (
- "google.golang.org/grpc"
-)
-
-// ConnPool is a pool of grpc.ClientConns.
-type ConnPool interface {
- // Conn returns a ClientConn from the pool.
- //
- // Conns aren't returned to the pool.
- Conn() *grpc.ClientConn
-
- // Num returns the number of connections in the pool.
- //
- // It will always return the same value.
- Num() int
-
- // Close closes every ClientConn in the pool.
- //
- // The error returned by Close may be a single error or multiple errors.
- Close() error
-
- // ConnPool implements grpc.ClientConnInterface to enable it to be used directly with generated proto stubs.
- grpc.ClientConnInterface
-}