config

package
v0.0.0-...-16d05a1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2022 License: MIT Imports: 5 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 {
	PortNumber     string `json:"port_number"`
	DBUser         string `json:"db_user"`
	DBPassword     string `json:"db_password"`
	DBHost         string `json:"db_host"`
	AllowedClients string `json:"allowed_clients"`
	MachineAddress string `json:"machine_address"`
	GoogleClientID string `json:"google_client_id"`
	Development    bool   `json:"development"`
}

Config represents the configuration of the server

func GetInstance

func GetInstance() *Config

GetInstance returns a singleton instance of type Config

Jump to

Keyboard shortcuts

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