feat(tfstated): implement HTTP basic auth

This commit is contained in:
Julien Dessaux 2024-11-14 01:34:29 +01:00
parent 4020344eda
commit 3d8812fbd0
Signed by: adyxax
GPG key ID: F92E51B86E07177E
18 changed files with 245 additions and 58 deletions

13
pkg/model/account.go Normal file
View file

@ -0,0 +1,13 @@
package model
import "time"
type Account struct {
Id int
Username string
Password string
IsAdmin bool
Created time.Time
LastLogin time.Time
Settings any
}