lib

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: GPL-3.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 AutoGenerated

type AutoGenerated struct {
	Config Config `yaml:"config"`
}

type Config

type Config struct {
	Server Server `yaml:"server"`
	Db     Db     `yaml:"db"`
}

func GetConf

func GetConf() *Config

type Db

type Db struct {
	Pass string `yaml:"pass"`
	Name string `yaml:"name"`
	User string `yaml:"user"`
	Host string `yaml:"host"`
	Port string `yaml:"port"`
}

type Server

type Server struct {
	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