constants

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FrontendPort added in v1.0.0

func FrontendPort() int

FrontendPort returns the frontend dev server port (base + 2).

func Port added in v1.0.0

func Port() int

Port returns the base port (backend server).

func PostgresPort added in v1.0.0

func PostgresPort() int

PostgresPort returns the Postgres host port (base + 3).

func ProjectName

func ProjectName() string

ProjectName returns the registered project name.

func SetPort added in v1.0.0

func SetPort(p int)

SetPort is called from the generated constants.gen.go to register the base port at init time.

func SetProjectName

func SetProjectName(name string)

SetProjectName is called from the generated constants.gen.go to register the project name at init time.

Types

This section is empty.

Jump to

Keyboard shortcuts

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