offline

package
v0.24.3 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0, MIT Imports: 12 Imported by: 10

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.

Functions

func NewOfflineRouter

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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