config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Datadir      = "datadir"
	Network      = "network"
	Filename     = "nigiri.config.json"
	AttachLiquid = "attachLiquid"
	Version      = "version"
)

Variables

This section is empty.

Functions

func GetBool

func GetBool(str string) bool

func GetPath

func GetPath() string

func GetString

func GetString(str string) string

func ReadFromFile

func ReadFromFile(path string) error

func Viper

func Viper() *viper.Viper

func WriteConfig

func WriteConfig(path string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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