user auth register

This commit is contained in:
Aditya Siregar
2025-09-18 01:32:01 +07:00
parent c68b536480
commit 65f61b65cf
24 changed files with 2065 additions and 14 deletions
+6 -1
View File
@@ -1,10 +1,15 @@
package config
type Jwt struct {
Token Token `mapstructure:"token"`
Token Token `mapstructure:"token"`
Customer Customer `mapstructure:"customer"`
}
type Token struct {
ExpiresTTL int `mapstructure:"expires-ttl"`
Secret string `mapstructure:"secret"`
}
type Customer struct {
Token Token `mapstructure:"token"`
}