v1.0.0: import: import code from accounts
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
40c43c6726
commit
7f7fd9395c
8 changed files with 369 additions and 0 deletions
13
internal/struct.go
Normal file
13
internal/struct.go
Normal 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"`
|
||||
}
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue