v1.0.0: import: import code from accounts

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2024-03-14 14:01:58 +01:00
commit 7f7fd9395c
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
8 changed files with 369 additions and 0 deletions

13
internal/struct.go Normal file
View file

@ -0,0 +1,13 @@
package logins
type (
RequestLogin struct {
Username string `json:"username"`
Password string `json:"password"`
}
ResponseLogin struct {
Token string `json:"token"`
PublicKey string `json:"publickey"`
}
)