user auth register
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package config
|
||||
|
||||
type Fonnte struct {
|
||||
ApiUrl string `mapstructure:"api_url"`
|
||||
Token string `mapstructure:"token"`
|
||||
Timeout int `mapstructure:"timeout"`
|
||||
}
|
||||
|
||||
func (f *Fonnte) GetApiUrl() string {
|
||||
return f.ApiUrl
|
||||
}
|
||||
|
||||
func (f *Fonnte) GetToken() string {
|
||||
return f.Token
|
||||
}
|
||||
|
||||
func (f *Fonnte) GetTimeout() int {
|
||||
return f.Timeout
|
||||
}
|
||||
Reference in New Issue
Block a user