go_libp2p_grpc

package module
v0.0.0-...-50f90fa Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: MIT Imports: 11 Imported by: 0

README

go-libp2p-grpc

grpc on libp2p

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithP2PDialer

func WithP2PDialer(h host.Host, pid protocol.ID) grpc.DialOption

Types

type Conn

type Conn struct {
	network.Stream
}

func (*Conn) LocalAddr

func (c *Conn) LocalAddr() net.Addr

LocalAddr returns the local address.

func (*Conn) RemoteAddr

func (c *Conn) RemoteAddr() net.Addr

RemoteAddr returns the remote address.

Jump to

Keyboard shortcuts

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