config

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Build

type Build struct {
	Version string `yaml:"version"`
	Commit  string `yaml:"commit"`
	Date    string `yaml:"date"`
}

Build - contains all build information

type Config

type Config struct {
	Project Project `yaml:"project"`
}

Config - contains all configuration parameters in config package.

func GetConfigInstance

func GetConfigInstance() Config

GetConfigInstance returns service config

type Project

type Project struct {
	Name  string `yaml:"name"`
	Build Build  `yaml:"build"`
}

Project - contains all parameters project information.

Jump to

Keyboard shortcuts

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