totp codes don't seem to sync but they're here!!
This commit is contained in:
parent
5e493554dc
commit
ae254dd731
7 changed files with 345 additions and 27 deletions
12
model/totp.go
Normal file
12
model/totp.go
Normal 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"`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue