p2pgrpc

package
v0.0.0-...-b7c645d Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Protocol protocol.ID = "/grpc/1.0.0"

Variables

This section is empty.

Functions

This section is empty.

Types

type P2PGrpcDialer

type P2PGrpcDialer interface {
	Dial(context.Context, string, ...grpc.DialOption) (*grpc.ClientConn, error)
}

func NewP2PDialer

func NewP2PDialer(h host.Host) P2PGrpcDialer

Jump to

Keyboard shortcuts

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