config

package
v0.0.0-...-f940b1b Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ReOrgLimit uint64
	// contains filtered or unexported fields
}

func GetConfig

func GetConfig() *Config

func (*Config) GetMongoDBConfig

func (c *Config) GetMongoDBConfig() *MongoDBConfig

func (*Config) GetQRLNodeConfig

func (c *Config) GetQRLNodeConfig() *QRLNodeConfig

type MongoDBConfig

type MongoDBConfig struct {
	DBName   string
	Host     string
	Port     uint16
	Username string
	Password string
}

type QRLNodeConfig

type QRLNodeConfig struct {
	IP            string
	PublicAPIPort uint16
}

Jump to

Keyboard shortcuts

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