admin

package module
v0.0.0-...-504bb22 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Unlicense Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Environment string
	Version     string

	Config EnvironmentConfiguration
}

func GetConfiguration

func GetConfiguration() *Configuration

Return the configuration of the application based on the environment we are running in. This will cause an application crash if a configuration file doesn't exist, or if it doesn't match with our configuration object definition.

type EnvironmentConfiguration

type EnvironmentConfiguration struct {
	Debug bool
}

type Status

type Status struct {
	Running bool
}

func GetStatus

func GetStatus() Status

Jump to

Keyboard shortcuts

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