envcfg

package
v0.0.0-...-3befcbb Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Shared variables we use across multiple tools. Most of this configuration is set via environment variables

Depending on the value of that variable, we might fetch the value from

Index

Constants

This section is empty.

Variables

View Source
var DbotAuthSecret string
View Source
var DbotClientId string
View Source
var DbotGuildId string
View Source
var DbotRedirectUri string
View Source
var Listen *string

Global config vars

View Source
var Network string
View Source
var OpenSeaApiKey string
View Source
var RedisAddress string
View Source
var RedisPassword string

Functions

func EnvSecretOrDefault

func EnvSecretOrDefault(key, def string) string

Reads a value from environment variable.

If that value includes "secret://" we will attempt to fetch it from Google Secrets manager using that value.

If nothing is specified the "def" value is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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