config

package
v0.13.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	SignerAppId   = "bdee2414-045b-31b7-b8a7-7998b36f5c93"
	KeeperAppId   = "ac495e24-72a5-3c53-aa33-8f90cf007b9d"
	SignerToken   = "a946936b-1b52-3e02-aec6-4fbccf284d5f"
	KeeperToken   = "8205ed7b-d108-30c6-9121-e4b83eecef09"
	ObserverToken = "90f4351b-29b6-3b47-8b41-7efcec3c6672"
)
View Source
const MainNetworkName = "main"

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