Documentation ¶
Index ¶
Constants ¶
View Source
const ( CommonNameKey = "commonName" // must match with pb.SigningRecord.CommonName tag OwnerKey = "owner" // must match with pb.SigningRecord.Owner tag DateKey = "date" // must match with pb.SigningRecord.Date tag CredentialKey = "credential" // must match with pb.SigningRecord.Credential tag CreationDateKey = "creationDate" // must match with pb.SigningRecord.CreationDate tag PublicKeyKey = "publicKey" // must match with pb.SigningRecord.PublicKey tag ValidUntilDateKey = "validUntilDate" // must match with pb.SigningRecord.Credential.ValidUntilDate tag DeviceIDKey = "deviceId" // must match with pb.SigningRecord.Credential.DeviceID tag )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteSigningRecordsQuery ¶
type DeleteSigningRecordsQuery = pb.DeleteSigningRecordsRequest
type LoadSigningRecordsFunc ¶
type LoadSigningRecordsFunc = func(ctx context.Context, iter SigningRecordIter) (err error)
type SigningRecord ¶
type SigningRecord = pb.SigningRecord
type SigningRecordIter ¶
type SigningRecordIter interface { Next(ctx context.Context, SigningRecord *SigningRecord) bool Err() error }
type SigningRecordsQuery ¶
type SigningRecordsQuery = pb.GetSigningRecordsRequest
type Store ¶
type Store interface { UpdateSigningRecord(ctx context.Context, sub *SigningRecord) error DeleteSigningRecords(ctx context.Context, ownerID string, query *DeleteSigningRecordsQuery) error LoadSigningRecords(ctx context.Context, ownerID string, query *SigningRecordsQuery, h LoadSigningRecordsFunc) error Close(ctx context.Context) error }
Click to show internal directories.
Click to hide internal directories.