// Copyright (C) 2018 Storj Labs, Inc. // See LICENSE for copying information. package transport import ( "context" "github.com/zeebo/errs" "google.golang.org/grpc" monkit "gopkg.in/spacemonkeygo/monkit.v2" "storj.io/storj/pkg/pb" ) var ( mon = monkit.Package() //Error is the errs class of standard Transport Client errors Error = errs.Class("transport error") ) // Client defines the interface to an transport client. type Client interface { DialNode(ctx context.Context, node *pb.Node) (*grpc.ClientConn, error) }