config

package
v0.0.0-...-97eb71a Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: MIT Imports: 1 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     Postgres
	Server Server
}

func New

func New() (*Config, error)

type Postgres

type Postgres struct {
	Host     string
	Port     int
	Username string
	Password string
	SSLMode  string
	DBName   string
}

type Server

type Server struct {
	Port int
}

Jump to

Keyboard shortcuts

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