config

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const AppVersion = "0.12.1"

Variables

This section is empty.

Functions

func HandleDevConfig added in v0.11.1

func HandleDevConfig(c *DevConfig)

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 string) (*Configuration, error)

type DevConfig added in v0.11.1

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

Jump to

Keyboard shortcuts

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