config

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: GPL-3.0 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 {
	Database Database
	Server   Server
}

func Load

func Load() Config

func (*Config) GetServerAddress added in v0.0.2

func (c *Config) GetServerAddress() string

type Database

type Database struct {
	Address        string
	Name           string
	MigrationsPath string
}

type Server

type Server struct {
	Host string
	Port string
}

Jump to

Keyboard shortcuts

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