aws

package
v0.0.0-...-9b4e82f Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseSecret

type DatabaseSecret struct {
	Username string `json:"username"`
	Password string `json:"password"`
	Host     string `json:"host"`
	Port     int    `json:"port"`
}

func GetDatabaseSecret

func GetDatabaseSecret(env string) (DatabaseSecret, error)

type ProgramSecrets

type ProgramSecrets struct {
	DiscordToken string `json:"discord_api"`
	RdsPassword  string `json:"rds_password"`
}

func Secrets

func Secrets(env string) ProgramSecrets

Jump to

Keyboard shortcuts

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