repository

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DynamodbRepo

type DynamodbRepo struct {
	Client    dynamoClientInterface
	TableName string
}

func NewDynamoDBRRepo

func NewDynamoDBRRepo(cfg aws.Config, TableName string) *DynamodbRepo

func (*DynamodbRepo) GetAuditObj

func (r *DynamodbRepo) GetAuditObj(UserID, RequestId string) (internal.AuditObject, error)

func (*DynamodbRepo) QueryAuditObjs

func (r *DynamodbRepo) QueryAuditObjs(UserID string) ([]internal.AuditObject, error)

func (*DynamodbRepo) SetAuditObj

func (r *DynamodbRepo) SetAuditObj(requestObj internal.AuditObject) error

func (*DynamodbRepo) UpdateApprovingUser

func (r *DynamodbRepo) UpdateApprovingUser(UserID, RequestId, approvingUser string) error

Jump to

Keyboard shortcuts

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