mirror of
https://github.com/ditatompel/xmr-remote-nodes.git
synced 2025-01-08 05:52:10 +07:00
refactor: Lowercase & upperase initialism acronyms
This commit is contained in:
parent
e9cacb478c
commit
3f5c0c9472
1 changed files with 4 additions and 4 deletions
|
@ -19,9 +19,9 @@ type App struct {
|
||||||
|
|
||||||
// configuration for prober (client)
|
// configuration for prober (client)
|
||||||
ServerEndpoint string
|
ServerEndpoint string
|
||||||
ApiKey string
|
APIKey string
|
||||||
AcceptTor bool
|
AcceptTor bool
|
||||||
TorSocks string
|
TorSOCKS string
|
||||||
}
|
}
|
||||||
|
|
||||||
var app = &App{}
|
var app = &App{}
|
||||||
|
@ -54,7 +54,7 @@ func LoadApp() {
|
||||||
|
|
||||||
// prober configuration
|
// prober configuration
|
||||||
app.ServerEndpoint = os.Getenv("SERVER_ENDPOINT")
|
app.ServerEndpoint = os.Getenv("SERVER_ENDPOINT")
|
||||||
app.ApiKey = os.Getenv("API_KEY")
|
app.APIKey = os.Getenv("API_KEY")
|
||||||
app.AcceptTor, _ = strconv.ParseBool(os.Getenv("ACCEPT_TOR"))
|
app.AcceptTor, _ = strconv.ParseBool(os.Getenv("ACCEPT_TOR"))
|
||||||
app.TorSocks = os.Getenv("TOR_SOCKS")
|
app.TorSOCKS = os.Getenv("TOR_SOCKS")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue