Documentation
¶
Index ¶
- func DependencyInjector() *dependencyInjector
- func DynamoDBClient() *dynamodb.Client
- func LoadEnv()
- func LoadTestEnv()
- func NewEndpointResolver() aws.EndpointResolverWithOptionsFunc
- func RedisClient(secretsManager adapters.SecretsManagerServiceAdapter) *redisClient
- func SNSClient() *sns.Client
- func SecretsManagerClient() *secretsmanager.Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DependencyInjector ¶
func DependencyInjector() *dependencyInjector
DependencyInjector constructor method.
func DynamoDBClient ¶
DynamoDBClient creates a client for DynamoDB, used to get clients from client DB.
func LoadEnv ¶
func LoadEnv()
LoadEnv class is responsible for loading order of .env files. Uses godotenv.Load to inject env variables from file into environment;
func LoadTestEnv ¶
func LoadTestEnv()
LoadTestEnv is used in tests to load .env.test file variables.
func NewEndpointResolver ¶
func NewEndpointResolver() aws.EndpointResolverWithOptionsFunc
func RedisClient ¶
func RedisClient(secretsManager adapters.SecretsManagerServiceAdapter) *redisClient
func SecretsManagerClient ¶
func SecretsManagerClient() *secretsmanager.Client
SecretsManagerClient creates a client for Secrets Manager, used to get secrets from aws.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.