config

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: MIT Imports: 0 Imported by: 0

README

To be deprecated in favour of config

Documentation

Index

Constants

View Source
const (
	AppUsage              = "the go-spacemesh node"
	AppAuthor             = "The go-spacemesh authors"
	AppAuthorEmail        = "info@spacemesh.io"
	AppCopyrightNotice    = "(c) 2017 The go-spacemesh Authors"
	AccountsDirectoryName = "accounts"
	LogDirectoryName      = "logs"
)

app params are non-configured consts

Variables

View Source
var ConfigValues = Config{
	AppIntParam:  20,
	AppBoolParam: true,
	DataFilePath: "~/spacemesh/",
}

ConfigValues defines default values for app config params.

Functions

This section is empty.

Types

type Config

type Config struct {
	ConfigFilePath string
	AppIntParam    int
	AppBoolParam   bool
	DataFilePath   string
}

Config defines app config params.

Jump to

Keyboard shortcuts

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