Documentation ¶
Index ¶
- func GetCustomSettingsByKey(key string) (interface{}, error)
- func GetDB(key string) (Database, error)
- func GetDynamo(key string) (Dynamo, error)
- func GetS3(key string) (S3, error)
- func GetSES(key string) (SES, error)
- func GetSNS(key string) (SNS, error)
- func GetSQS(key string) (SQS, error)
- func GetSecretsManager() (secretsmanager.SecretsManager, error)
- func GetStage() string
- func SetCustomSettings(key string, cs interface{})
- func SetDatabase(key string, database Database) error
- func SetDatabaseObject(key string, database Database) error
- func SetDatabaseProperties(key string, provider string, host string, port int, database string, ...) error
- func SetDynamo(key string, region string, prefix string) error
- func SetS3(key string, region string, bucket string) error
- func SetSES(key string, region string, from string, domain string) error
- func SetSNS(key string, region string, topic string, prefix string) error
- func SetSQS(key string, region string, prefix string, queue string) error
- func SetSecretsManager(region string)
- func SetStage(stage string)
- type Config
- type Databases
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCustomSettingsByKey ¶
GetCustomSettings returns the Custom Settings
func GetSecretsManager ¶
func GetSecretsManager() (secretsmanager.SecretsManager, error)
GetSecretsManager returns SecretManager configuration
func SetCustomSettings ¶
func SetCustomSettings(key string, cs interface{})
SetCustomSettings sets the Custom Setting
func SetDatabase ¶
SetDatabase sets the Database configuration
func SetDatabaseObject ¶
SetDatabaseObject sets the Database configuration
func SetDatabaseProperties ¶
func SetDatabaseProperties(key string, provider string, host string, port int, database string, user string, password string) error
SetDatabaseProperties sets the Database configuration by providing parameters
func SetSecretsManager ¶
func SetSecretsManager(region string)
SetSecretsManager creates a Secrets Manager instance and sets it into the instance of the configuration
Types ¶
Click to show internal directories.
Click to hide internal directories.