get app pw
parent
1f75dda04d
commit
db64594c51
|
|
@ -7,5 +7,11 @@
|
||||||
"Mock": true,
|
"Mock": true,
|
||||||
"Cookie": ""
|
"Cookie": ""
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"Emailer": {
|
||||||
|
"From": "breellocaldev@gmail.com",
|
||||||
|
"POP3": "pop.gmail.com:995",
|
||||||
|
"Password": "gojfkkfrkmtxzyro",
|
||||||
|
"Limit": 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ package config
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
|
"local/sandbox/contact/contact"
|
||||||
"local/storage"
|
"local/storage"
|
||||||
"os"
|
"os"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
@ -19,6 +20,7 @@ type Config struct {
|
||||||
Cookie string
|
Cookie string
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Emailer contact.Emailer
|
||||||
|
|
||||||
lock sync.Mutex
|
lock sync.Mutex
|
||||||
db storage.DB
|
db storage.DB
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue