offline

package
v0.0.0-...-ce94876 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2019 License: MIT, MIT Imports: 14 Imported by: 0

Documentation

Overview

Package offline implements IpfsRouting with a client which is only able to perform offline operations.

Index

Constants

This section is empty.

Variables

View Source
var ErrOffline = errors.New("routing system in offline mode")

ErrOffline is returned when trying to perform operations that require connectivity.

Functions

func NewOfflineRouter

func NewOfflineRouter(dstore ds.Datastore, validator record.Validator) routing.IpfsRouting

NewOfflineRouter returns an IpfsRouting implementation which only performs offline operations. It allows to Put and Get signed dht records to and from the local datastore.

Types

This section is empty.

Jump to

Keyboard shortcuts

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