p2phttp

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type P2PProxy

type P2PProxy struct {
	Nucleus *ipfsnucleus.Peer
}

func (*P2PProxy) Proxy

func (a *P2PProxy) Proxy(rw http.ResponseWriter, req *http.Request)

an endpoint for proxying a HTTP request to another ipfs peer

Jump to

Keyboard shortcuts

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