server

package
v0.0.0-...-47b83b8 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context)

Types

type Config

type Config struct {
	Port          string `default:"80"`
	Env           string `default:"DEV"` // DEV, PROD
	PostgresURL   string `split_words:"true" required:"true"`
	MigrationsURL string `split_words:"true" required:"true"`
}

func (*Config) Addr

func (c *Config) Addr() string

Jump to

Keyboard shortcuts

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