config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Development defines the dev environment name
	Development = "development"

	// Production defines the prod environment name
	Production = "production"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	System      string
	Environment string
	Port        int
	IsSetup     bool
}

Options is the main config type that holds configuration options for the service.

func Get

func Get() Options

Get returns the configuration for the applicable environment.

Jump to

Keyboard shortcuts

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