totp codes don't seem to sync but they're here!!

This commit is contained in:
ari melody 2025-01-20 23:49:54 +00:00
parent 5e493554dc
commit ae254dd731
Signed by: ari
GPG key ID: CF99829C92678188
7 changed files with 345 additions and 27 deletions

12
model/totp.go Normal file
View file

@ -0,0 +1,12 @@
package model
import (
"time"
)
type TOTP struct {
Name string `json:"name" db:"name"`
AccountID string `json:"accountID" db:"account"`
Secret string `json:"-" db:"secret"`
CreatedAt time.Time `json:"created_at" db:"created_at"`
}