config

package
v0.0.0-...-4d82e29 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: MIT Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// RDS
	RDSHost             string `json:"rds_host"`
	RDSDatabase         string `json:"rds_database"`
	RDSUsername         string `json:"rds_username"`
	RDSPassword         string `json:"rds_password"`
	RDSPort             int    `json:"rds_port"`
	GithubWebhookSecret string `json:"github_webhook_secret"`
	GithubAppPrivateKey string `json:"github_app_private_key"`
	GithubAppID         int    `json:"github_app_id"`
}

Config data model

func LoadConfig

func LoadConfig(configFilePath string, awsSession *session.Session, awsStage string) (Config, error)

LoadConfig loads the configuration

Jump to

Keyboard shortcuts

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