config

package
v0.0.0-...-0b0ce43 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdOptions

type CmdOptions struct {
	NumBlocks        int
	ProccesorThreads int
}

type Config

type Config struct {
	Network  NetworkOptions
	Cmd      CmdOptions
	Database DatabaseOptions
}

func GetCliConfig

func GetCliConfig() Config

func GetHttpConfig

func GetHttpConfig() Config

func GetServerConfig

func GetServerConfig() Config

type DatabaseOptions

type DatabaseOptions struct {
	MongoUri string
	DBName   string
}

type NetworkOptions

type NetworkOptions struct {
	SolanaUrl  string
	NumThreads int
	StartFrom  string
}

Jump to

Keyboard shortcuts

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