Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QRCode ¶
QRCode is just Generated ID to validate the permission to download techbook.
type QRCodeRepository ¶
type QRCodeRepository interface { GetQRCodes(ctx context.Context) ([]*QRCode, error) IsExistQRCode(ctx context.Context, code *QRCode) bool // GenerateQRCodes(ctx context.Context, len int) error SaveQRCodes(ctx context.Context, qrs []*QRCode) error }
QRCodeRepository defines what should be implemented as repository.
Click to show internal directories.
Click to hide internal directories.