mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +00:00
New communications package
Support for Slack, SMSGlobal, SMTP and Telegram Supersedes: https://github.com/thrasher-/gocryptotrader/pull/126
This commit is contained in:
committed by
Adrian Gallagher
parent
d34fc9aae8
commit
9d0616d8cf
53
testdata/configtest.json
vendored
53
testdata/configtest.json
vendored
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"Name": "Skynet",
|
||||
"EncryptConfig": 0,
|
||||
"GlobalHTTPTimeout": 15000000000,
|
||||
"CurrencyConfig": {
|
||||
"ForexProviders": [
|
||||
{
|
||||
@@ -47,7 +48,45 @@
|
||||
},
|
||||
"FiatDisplayCurrency": "USD"
|
||||
},
|
||||
"GlobalHTTPTimeout": 15000000000,
|
||||
"Communications": {
|
||||
"Slack": {
|
||||
"Name": "Slack",
|
||||
"Enabled": false,
|
||||
"Verbose": false,
|
||||
"TargetChannel": "general",
|
||||
"VerificationToken": "testtest"
|
||||
},
|
||||
"SMSGlobal": {
|
||||
"Name": "SMSGlobal",
|
||||
"Enabled": true,
|
||||
"Verbose": false,
|
||||
"Username": "1234",
|
||||
"Password": "12334",
|
||||
"Contacts": [
|
||||
{
|
||||
"Name": "StyleGherkin",
|
||||
"Number": "1231424",
|
||||
"Enabled": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"SMTP": {
|
||||
"Name": "SMTP",
|
||||
"Enabled": false,
|
||||
"Verbose": false,
|
||||
"Host": "smtp.google.com",
|
||||
"Port": "537",
|
||||
"AccountName": "some",
|
||||
"AccountPassword": "password",
|
||||
"RecipientList": "lol123@gmail.com"
|
||||
},
|
||||
"Telegram": {
|
||||
"Name": "Telegram",
|
||||
"Enabled": false,
|
||||
"Verbose": false,
|
||||
"VerificationToken": "testest"
|
||||
}
|
||||
},
|
||||
"PortfolioAddresses": {
|
||||
"Addresses": [
|
||||
{
|
||||
@@ -76,18 +115,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"SMSGlobal": {
|
||||
"Enabled": true,
|
||||
"Username": "1234",
|
||||
"Password": "12334",
|
||||
"Contacts": [
|
||||
{
|
||||
"name": "StyleGherkin",
|
||||
"number": "1231424",
|
||||
"enabled": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"Webserver": {
|
||||
"Enabled": false,
|
||||
"AdminUsername": "admin",
|
||||
|
||||
Reference in New Issue
Block a user