Versions in this module Expand all Collapse all v6 v6.2.13 Sep 22, 2026 v6.2.12 Sep 21, 2026 Changes in this version + const DIDChangeCreated + const DIDChangeDeactivated + const DIDChangeUpdated + func NewTestDatabase(t *testing.T) *gorm.DB + type DID struct + ID string + Subject string + func (d DID) TableName() string + type DIDChangeLog struct + DIDDocumentVersion DidDocument + DIDDocumentVersionID string + TransactionID string + Type string + func (d DIDChangeLog) DID() did.DID + func (d DIDChangeLog) Method() string + func (d DIDChangeLog) TableName() string + type DIDKeyFlags uint + const AssertionMethodUsage + const AuthenticationUsage + const CapabilityDelegationUsage + const CapabilityInvocationUsage + const KeyAgreementUsage + func AssertionKeyUsage() DIDKeyFlags + func EncryptionKeyUsage() DIDKeyFlags + func (k DIDKeyFlags) Is(other DIDKeyFlags) bool + type DidDocument struct + CreatedAt int64 + DID DID + DidID string + ID string + Raw string + Services []Service + UpdatedAt int64 + VerificationMethods []VerificationMethod + Version int + func (d DidDocument) TableName() string + func (sqlDoc DidDocument) GenerateDIDDocument() (did.Document, error) + func (sqlDoc DidDocument) ToDIDDocument() (did.Document, error) + type KeyReference struct + KID string + KeyName string + Version string + func (d KeyReference) TableName() string + type MigrationDocument struct + Created time.Time + Raw []byte + Updated time.Time + Version int + func (migration MigrationDocument) ToORMDocument(subject string) (DidDocument, error) + type Service struct + Data []byte + ID string + func (v Service) TableName() string + type VerificationMethod struct + Data []byte + ID string + KeyTypes VerificationMethodKeyType + Weight int16 + func (v VerificationMethod) TableName() string + type VerificationMethodKeyType int16