config

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Daemon    Daemon   `toml:"daemon"`
	NodesList []string `toml:"nodes_list"`
}

func (*Config) Read

func (c *Config) Read(fileName string) error

type Daemon

type Daemon struct {
	DaemonMode     bool `toml:"daemon"`
	QueryingPeriod int  `toml:"querying_period"`
}

Jump to

Keyboard shortcuts

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