config

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2019 License: LGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNotInit

func IsNotInit() bool

IsNotInit state if the config is not init

func Setup

func Setup(dbType, dbRTMEURL, dbCFGURL string) error

Setup start the db connexion

Types

type Config

type Config struct {
	DB *db.DB
}

Config hold the config and db access

func Get

func Get() (*Config, error)

Get give access to the config object

Jump to

Keyboard shortcuts

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