astro

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Port is the port astro app listens on.
	Port = 80
)

Variables

This section is empty.

Functions

func Container

func Container(appName string, tgz []byte, configurators ...Configurator) host.Configurator

Container runs astro frontend container.

Types

type Config added in v0.17.0

type Config struct {
	// EnvVars sets environment variables inside astro app container.
	EnvVars map[string]string
}

Config represents astro app configuration.

type Configurator added in v0.17.0

type Configurator func(config *Config)

Configurator defines function setting the astro app configuration.

func EnvVar added in v0.17.0

func EnvVar(name, value string) Configurator

EnvVar sets environment variable inside astro app container.

Jump to

Keyboard shortcuts

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