offline

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: MIT Imports: 12 Imported by: 22

Documentation

Overview

Package offline implements Routing 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.

Deprecated: use github.com/ipfs/boxo/routing/offline.ErrOffline

Functions

func NewOfflineRouter deprecated

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

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

Deprecated: use github.com/ipfs/boxo/routing/offline.NewOfflineRouter

Types

This section is empty.

Jump to

Keyboard shortcuts

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