config

package
v0.0.0-...-b610cb1 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	Name    string
	Version string
	Port    string
}

AppConfig - our app specific config

type Config

type Config struct {
	App  *AppConfig
	HTTP *HTTPConfig
}

Config - our application global config struct

func Load

func Load() *Config

type HTTPConfig

type HTTPConfig struct {
	Content string
	Problem string
}

HTTPConfig - our Http config values

Jump to

Keyboard shortcuts

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