Documentation ¶
Overview ¶
Package repository contains variables used throughout the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //TelegramBotToken is the Telegram bot token. TelegramBotToken string //BitlyAPIKey is the Bitly API key. BitlyAPIKey string //ReferralID is the Amazon referral ID. ReferralID string //AmazonDomain is the Amazon domain for which //the ReferralID is valid. AmazonDomain string //AWSSession is the current AWS session. AWSSession *session.Session //DynamoDBClient is the client to access DynamoDB. DynamoDBClient *dynamodb.DynamoDB )
Functions ¶
func CreateAWSSession ¶
func CreateAWSSession() (err error)
CreateAWSSession creates an AWS session.
func LoadEnvVariables ¶
func LoadEnvVariables()
LoadEnvVariables loads the environment variables and checks their values. If they're empty, the application will quit.
func StartDynamoDBClient ¶
func StartDynamoDBClient()
StartDynamoDBClient starts the DynamoDB client.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.