Skip to content

Commit 84b78ed

Browse files
Update exchange/consent-engine/v1/models/constants.go
Co-authored-by: Thanikan Sivatheepan <sthanikan2000@gmail.com>
1 parent 2b0b3de commit 84b78ed

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed
Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
package models
22

3-
// Consent-engine log operations
3+
// ConsentEngineOperation represents the operation
4+
type ConsentEngineOperation string
5+
6+
// ConsentEngineOperation constants
47
const (
5-
OpCreateConsent = "create consent"
6-
OpUpdateConsent = "update consent"
7-
OpRevokeConsent = "revoke consent"
8-
OpGetConsentStatus = "get consent status"
9-
OpGetConsentsByOwner = "get consents by data owner"
10-
OpGetConsentsByConsumer = "get consents by consumer"
11-
OpCheckConsentExpiry = "check consent expiry"
12-
OpProcessPortalRequest = "process consent portal"
8+
OpCreateConsent ConsentEngineOperation = "create consent"
9+
OpUpdateConsent ConsentEngineOperation = "update consent"
10+
OpRevokeConsent ConsentEngineOperation = "revoke consent"
11+
OpGetConsentStatus ConsentEngineOperation = "get consent status"
12+
OpGetConsentsByOwner ConsentEngineOperation = "get consents by data owner"
13+
OpGetConsentsByConsumer ConsentEngineOperation = "get consents by consumer"
14+
OpCheckConsentExpiry ConsentEngineOperation = "check consent expiry"
15+
OpProcessPortalRequest ConsentEngineOperation = "process consent portal"
1316
)

0 commit comments

Comments
 (0)