config

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2022 License: Apache-2.0 Imports: 5 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig(AConfig any)

Types

type AppApplication

type AppApplication struct {
	Name string `yaml:"name"`
}

type AppLogger

type AppLogger struct {
	Level string `yaml:"level"`
}

type AppProfile

type AppProfile struct {
	Active string `yaml:"active"`
}

type AppServer

type AppServer struct {
	Port   int  `yaml:"port"`
	Lookup bool `yaml:"lookup"`
}

type AppSpring

type AppSpring struct {
	Application AppApplication `yaml:"application"`
	Profiles    AppProfile     `yaml:"profiles"`
}

Jump to

Keyboard shortcuts

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