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
Click to show internal directories.
Click to hide internal directories.