node

package
v0.0.0-...-22aeabe Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CurrentConfig = Config{}
View Source
var CurrentConfigInitialized = false

Functions

func PanicIfNotInitialized

func PanicIfNotInitialized()

func Run

func Run(ctx context.Context) error

Types

type Config

type Config struct {
	Did             string
	NostrPrivKey    string
	NostrPubKey     string
	IPFSPubKey      []byte
	IPFSPrivKey     []byte
	InfuraSecretKey string
	W3SSecretKey    string
	IPNSKeys        map[byte]byte
}

func LoadConfig

func LoadConfig() (Config, error)

type NodeRun

type NodeRun struct {
	Ctx    context.Context
	Config Config
	Ipfs   ipfs.IPFSCore
}

Jump to

Keyboard shortcuts

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