config

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigDatabase = Database{
	EventCollection:   "events",
	LockCollection:    "locks",
	CatalogCollection: "catalog",
	Host:              "127.0.0.1",
	Port:              "27017",
	Name:              "tracker",
}
View Source
var ConfigGeneral = General{
	GrpcPort: "8765",
	HttpPort: "8080",
	LogLevel: "info",
}

Functions

This section is empty.

Types

type Database

type Database struct {
	EventCollection   string
	LockCollection    string
	CatalogCollection string
	Host              string
	Port              string
	Name              string
	Username          string
	Password          string
	CAFile            string
	CertFile          string
	KeyFile           string
}

type General

type General struct {
	GrpcPort string
	HttpPort string
	LogLevel string
}

Jump to

Keyboard shortcuts

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