config

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const MainNetworkName = "main"
View Source
const TestNetworkName = "test"

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Signer   *signer.Configuration   `toml:"signer"`
	Keeper   *keeper.Configuration   `toml:"keeper"`
	Observer *observer.Configuration `toml:"observer"`
	Dev      *DevConfig              `toml:"dev"`
}

func ReadConfiguration

func ReadConfiguration(path, role string) (*Configuration, error)

type DevConfig added in v0.11.1

type DevConfig struct {
	ProfilePort int    `toml:"profile-port"`
	LogLevel    int    `toml:"log-level"`
	Network     string `toml:"network"`
}

Jump to

Keyboard shortcuts

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