beam

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 License: MIT Imports: 3 Imported by: 0

README

beam

beam is used to transfer ipfs content across different networks. An example usage is to transfer files between two different private networks, or from a private network to the public network.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Laser

type Laser struct {
	// contains filtered or unexported fields
}

Laser is used to transfer content between two different private networks

func NewLaser

func NewLaser(srcURL, dstURL, token string) (*Laser, error)

NewLaser creates a laser client to beam content between different ipfs networks

func (*Laser) BeamFromDestination

func (l *Laser) BeamFromDestination(contentHash string) error

BeamFromDestination is used to transfer content from the destination network to the source network

func (*Laser) BeamFromSource

func (l *Laser) BeamFromSource(contentHash string) error

BeamFromSource is used to transfer content from the source network to the destination network

Jump to

Keyboard shortcuts

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