config

package
v0.0.0-...-4181ed6 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Vars               envVars
	DistributionConfig *configuration.Configuration
	Router             RouterConfig
	Cache              configuration.Storage
	CacheOnly          bool
	RedirectTo         *url.URL
	NoClone            bool
)

Configuration variables

Functions

func Init

func Init() error

Init parses and prepares all config variables.

Types

type Node

type Node struct {
	URL string `yaml:"url"`
}

Node contains IPFS node parameters.

type RouterConfig

type RouterConfig struct {
	Nodes []*Node `yaml:"nodes"`
}

RouterConfig contains router config parameters.

Jump to

Keyboard shortcuts

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