10 lines
296 B
Go
10 lines
296 B
Go
// Package grpcconn defines the smallest connection contract required by generated RPC clients.
|
|
package grpcconn
|
|
|
|
import "google.golang.org/grpc"
|
|
|
|
// Provider is implemented by grpc.ClientConn wrappers, including legacy clients exposing Conn.
|
|
type Provider interface {
|
|
Conn() *grpc.ClientConn
|
|
}
|