cfg

package
v1.5.9 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BootContainer

func BootContainer() func()

func ComputePgDSN

func ComputePgDSN(dbEngineType chain.StorageType) func() string

Types

type Config

type Config struct {
	N            int
	Thr          int
	Period       string
	WithTLS      bool
	Binary       string
	WithCurl     bool
	Scheme       *crypto.Scheme
	BeaconID     string
	IsCandidate  bool
	DBEngineType chain.StorageType
	PgDSN        func() string
	MemDBSize    int
	Offset       int
	BasePath     string
	CertFolder   string
}

Config stores configuration for the orchestrator. It's in a separate package to avoid import cycles.

Jump to

Keyboard shortcuts

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