config

package
v0.0.0-...-fcbf4c4 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig(nameService string) (map[string]interface{}, error)

GetConfig returns the configuration instance

Types

type Config

type Config struct {
	NameSystem string                      `yaml:"nameSystem"`
	Version    string                      `yaml:"version"`
	Services   map[interface{}]interface{} `yaml:"Services"`
}

func ReadFile

func ReadFile() (*Config, error)

ReadFile reads the configuration file

Jump to

Keyboard shortcuts

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