configs

package
v0.0.0-...-45cbd8e Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Passkey    string
	Dbms       Dbms
	Elastic    Elastic
	Rabbit     Rabbit
	HelmAPIUrl string
}

App struct

type Configuration

type Configuration struct {
	Server Server
	App    App
}

Configuration - Configuração geral da aplicação

func ReadConfig

func ReadConfig(configFile string) (*Configuration, error)

ReadConfig inicia as configurações

type Dbms

type Dbms struct {
	URI string
}

Dbms struct

type Elastic

type Elastic struct {
	URL      string
	Username string
	Password string
}

Elastic Config Structure

type Rabbit

type Rabbit struct {
	URI string
}

Rabbit struct

type Server

type Server struct {
	Port string
}

Server - Dados do servidor

Jump to

Keyboard shortcuts

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