astro

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const Port = 80

Port is the port astro app listens on.

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