config

package
v0.0.0-...-93b2285 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Server config.Config
	Log    Log
	Db     Database
	Crypto Crypto
}

func GetConfig

func GetConfig(path string) (*Config, error)

type Crypto

type Crypto struct {
	Seed string
	Net  string
}

type Database

type Database struct {
	User     string
	Password string
	Name     string
	Host     string
	Port     int
}

type Log

type Log struct {
	Prod bool
}

Jump to

Keyboard shortcuts

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