environment

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Env = Environments[0]
View Source
var Environments = []Environment{
	{
		Name:   "production",
		Values: []string{"production", "prod"},
		API:    "https://api.vulncheck.com",
		WEB:    "https://vulncheck.com",
	},
	{
		Name:   "development",
		Values: []string{"development", "dev", "local"},
		API:    "http://localhost:8000",
		WEB:    "http://localhost:3000",
	},
}

Functions

func Init

func Init()

Types

type Environment

type Environment struct {
	Name   string
	Values []string
	API    string
	WEB    string
}

Jump to

Keyboard shortcuts

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