Documentation ¶
Index ¶
- type Details
- type DynamoDBService
- func (svc *DynamoDBService) GetDetailsBySessionID(sessionID string) (Details, error)
- func (svc *DynamoDBService) GetSessionsBasedOnStatus(userID string, status string) ([]models.Session, error)
- func (svc *DynamoDBService) SaveSession(sessModel models.Session) error
- func (svc *DynamoDBService) UpdateSessionStatusAndIP(sessionID, status, serverIP string) error
- func (svc *DynamoDBService) UpdateSessionStatusIPAndInstance(sessionID, status, serverIP, instanceID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamoDBService ¶
func InitializeDynamoDB ¶
func InitializeDynamoDB() (*DynamoDBService, error)
func (*DynamoDBService) GetDetailsBySessionID ¶
func (svc *DynamoDBService) GetDetailsBySessionID(sessionID string) (Details, error)
func (*DynamoDBService) GetSessionsBasedOnStatus ¶
func (*DynamoDBService) SaveSession ¶
func (svc *DynamoDBService) SaveSession(sessModel models.Session) error
func (*DynamoDBService) UpdateSessionStatusAndIP ¶
func (svc *DynamoDBService) UpdateSessionStatusAndIP(sessionID, status, serverIP string) error
func (*DynamoDBService) UpdateSessionStatusIPAndInstance ¶
func (svc *DynamoDBService) UpdateSessionStatusIPAndInstance(sessionID, status, serverIP, instanceID string) error
Click to show internal directories.
Click to hide internal directories.