config

package
v0.0.0-...-35c4c52 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 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 {
	// The port number on which gRPC is running.
	GrpcPort string

	// Service name (also used for tracer)
	Service string

	// File path to log output.
	LogPath string

	// Driver name of the Database.
	DBDriver string

	// User name of the Database.
	DBUser string

	// Password of the Database.
	DBPassword string

	// Database name.
	DBName string

	// Host name of the Database.
	DBHost string

	// Port number of the Database.
	DBPort string
}

Configuration values used throughout the application.

func New

func New() (Config, error)

New returns the config.

Jump to

Keyboard shortcuts

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