environment

package
v0.1.34 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package environment handles all variables that can be injected to Hera from the env and is passed to all packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct {
	PrivateKey          *rsa.PrivateKey
	PrivateKeyString    string
	OAuth2RedirectUrl   string
	PublicKey           *rsa.PublicKey
	PublicKeyString     string
	InMemoryConfigs     []string
	ConfigPath          string
	StorageUrlExpiresIn time.Duration
	HttpPort            string
	nuntio.NuntioNamespace
}

func New

func New() (*Environment, error)

Jump to

Keyboard shortcuts

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