Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInternal = errors.New("the internal error", errors.WithVendor(errVendor), errors.WithCode(-1)) ErrAddr = errors.New("invalid libp2p net.addr", errors.WithVendor(errVendor), errors.WithCode(-2)) ErrClosed = errors.New("transport closed", errors.WithVendor(errVendor), errors.WithCode(-3)) )
errors
Functions ¶
func Dial ¶
func Dial(transport Transport, id peer.ID, dialOpts ...grpc.DialOption) (*grpc.ClientConn, error)
Dial connect to grpc Server with libp2p transport
Types ¶
Click to show internal directories.
Click to hide internal directories.