mirror of
https://github.com/ditatompel/xmr-remote-nodes.git
synced 2024-11-16 17:07:36 +00: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)
|
||||
ServerEndpoint string
|
||||
ApiKey string
|
||||
APIKey string
|
||||
AcceptTor bool
|
||||
TorSocks string
|
||||
TorSOCKS string
|
||||
}
|
||||
|
||||
var app = &App{}
|
||||
|
@ -54,7 +54,7 @@ func LoadApp() {
|
|||
|
||||
// prober configuration
|
||||
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.TorSocks = os.Getenv("TOR_SOCKS")
|
||||
app.TorSOCKS = os.Getenv("TOR_SOCKS")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue