postgres

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

type Input struct {
	User     string  `toml:"user" validate:"required"`
	Password string  `toml:"password" validate:"required"`
	Database string  `toml:"database" validate:"required"`
	Port     string  `toml:"port" validate:"required"`
	Out      *Output `toml:"out"`
}

type Output

type Output struct {
	Url               string `toml:"url"`
	DockerInternalURL string `toml:"docker_internal_url"`
}

func NewPostgreSQL

func NewPostgreSQL(in *Input) (*Output, error)

Jump to

Keyboard shortcuts

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