config

package
v0.0.0-...-f484def Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 4 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 {
	DB `yaml:"database"`
}
var Default Config = Config{
	DB: DB{
		User:      "tijldev",
		Passsword: "tijldev",
		Database:  "tijldev",
		Host:      "localhost",
		Port:      5432,
	},
}

func (*Config) Load

func (c *Config) Load()

type DB

type DB struct {
	User      string `yaml:"user"`
	Passsword string `yaml:"password"`
	Database  string `yaml:"database"`
	Host      string `yaml:"host"`
	Port      int    `yaml:"port"`
}

Jump to

Keyboard shortcuts

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