Documentation ¶
Index ¶
- type DynamodbRepo
- func (r *DynamodbRepo) GetAuditObj(UserID, RequestId string) (internal.AuditObject, error)
- func (r *DynamodbRepo) QueryAuditObjs(UserID string) ([]internal.AuditObject, error)
- func (r *DynamodbRepo) SetAuditObj(requestObj internal.AuditObject) error
- func (r *DynamodbRepo) UpdateApprovingUser(UserID, RequestId, approvingUser string) error
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
Click to show internal directories.
Click to hide internal directories.