conf

package
v0.0.0-...-1d7a7e7 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2019 License: GPL-3.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Port int
	Host string
}

App Config Object

type Conf

type Conf struct {
	Database Database
	Keycloak Keycloak
	App      App
}

Conf is an object created by the conf.yaml file

func (*Conf) GetConf

func (c *Conf) GetConf() *Conf

GetConf fills the conf struct

type Database

type Database struct {
	Host       string
	Name       string
	Selectuser string
	Selectpass string
	Updateuser string
	Updatepass string
}

Database Config Object

type Keycloak

type Keycloak struct {
	Host string
}

Keycloak Config Object

Jump to

Keyboard shortcuts

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