env

package
v0.0.0-...-4d6a32e Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TrustedCerts
	// Cert files separated by comma
	TrustedCerts = "GOVIEW_TRUSTED_CERTS"

	// UIIndexHTML
	// The index.html rendered in path of "/"
	UIIndexHTML = "GOVIEW_UI_INDEX_HTML"

	// PreviewFolder
	// Folder to store preview files
	PreviewFolder = "GOVIEW_PREVIEW_FOLDER"

	// HttpBinding
	// Port to run the server
	HttpBinding = "GOVIEW_HTTP_BINDING"

	// DatabaseURL
	// Database URL in format like "user:password@tcp(host:port)/database"
	DatabaseURL = "GOVIEW_DATABASE_URL"
)

Variables

This section is empty.

Functions

func TrustedCertsPoolFromEnv

func TrustedCertsPoolFromEnv() (*x509.CertPool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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