config

package
v0.0.0-...-16fd4a1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2022 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DependencyInjector

func DependencyInjector() *dependencyInjector

DependencyInjector constructor method.

func DynamoDBClient

func DynamoDBClient() *dynamodb.Client

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 SNSClient

func SNSClient() *sns.Client

SNSClient creates a client for AWS SNS. Used mainly to publish topic messages.

func SecretsManagerClient

func SecretsManagerClient() *secretsmanager.Client

SecretsManagerClient creates a client for Secrets Manager, used to get secrets from aws.

Types

This section is empty.

Jump to

Keyboard shortcuts

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