Versions in this module Expand all Collapse all v1 v1.0.1 Feb 19, 2020 Changes in this version + var ZapLoggerObj *zap.Logger + func AppendQueryParams(url string, query_params map[string]string) string + func ConfigureDynamoDB() + func Contains(arr []string, str string) bool + func Get(url string, queryParams map[string]string, headers http.Header) ([]byte, error) + func GetUTCTimeString() string + func GetUUID() string + func InterfaceToMap(request interface{}) map[string]interface + func IsEmpty(str string) bool + func Logger(inner http.Handler, name string) http.Handler + func LowerFirst(s string) string + func Post(url string, payload map[string]string, headers http.Header) ([]byte, error) + func PrepareUpdateExpression(request interface{}, keysToExclude []string) map[string]interface + func Put(url string, payload map[string]string, headers http.Header) ([]byte, error) + func TransactWriteItems(transactItems []TransactItem) map[string]interface + func ZapLogger() *zap.Logger + type AWSConfigurations struct + Region string + Tables TableConfigurations + type Configurations struct + AWS AWSConfigurations + FMS FMSConfigurations + HttpTimeoutInSeconds time.Duration + Server ServerConfigurations + Version string + var ConfigurationObj Configurations + func ConfigObj(filePath string) Configurations + type DBService struct + TableName string + func (db DBService) BatchGetItem(keyDetails []map[string]string, items interface{}) error + func (db DBService) BatchWriteItemDelete(keyDetails []map[string]string, items interface{}) error + func (db DBService) GetItem(keyDetails map[string]string, item interface{}) error + func (db DBService) PutItem(transactItem TransactItem) + func (db DBService) QueryOnGSI(keyDetails map[string]string, items interface{}, keyEx string, ...) error + func (db DBService) QuerytItem(keyDetails map[string]string, items interface{}, keyEx string) error + func (db DBService) UpdateItem(keyDetails map[string]string, itemDetails map[string]string, ...) + type FMSConfigurations struct + FetchVehiclesEndPoint string + URL string + type MyDynamo struct + Db dynamodbiface.DynamoDBAPI + var Dyna *MyDynamo + type ServerConfigurations struct + Host string + Port int + type TableConfigurations struct + Vehicle TableStructure + var TableDetails TableConfigurations + type TableStructure struct + HashKey string + TableName string + type TransactItem struct + ExpressionAttributeValues map[string]interface{} + ItemDetails interface{} + KeyDetails map[string]interface{} + TableName string + TransactType string + UpdateExpression string