conf

package
v0.0.0-...-a2e7767 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Params map[string]string

Functions

func LoadConfig

func LoadConfig()

Types

type Config

type Config struct {
	GRPC struct {
		Port           *int
		Address        *string
		Enabled        bool
		UseRateLimiter bool
		ReadLimit      *int
		WriteLimit     *int
		LimitVariable  *bool
	}
	Meta struct {
		Provider          string
		MongoDBServer     *string
		MongoDBCollection *string
		MySQLUser         *string
		MySQLPassword     *string
		MySQLDBName       *string
		UseCache          *string
	}
	Storage struct {
		Filepath *string
	}
	Cache struct {
		BlockCache int
	}
	Debug struct {
		Cpuprofile  bool
		Heapprofile bool
	}
	Coalescence struct {
		Enable    bool
		Earlytrip *int
		Interval  *int
	}
	Forest struct {
		Count *int
	}
}
var Configuration Config

Jump to

Keyboard shortcuts

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