mirror of
https://github.com/nabbar/golib.git
synced 2025-10-04 23:42:46 +08:00
- Add Package Pooler For SMTP :
* implement SMTP lib interface * check number of sent mail in a time lapse before sending new mail * if time since last reset is over, reset counter * add feature to call a user function on each counter reset - Pkg SMTP : Fix race detection & segFault - Pkg Mailer : add new function to parse all template value with the given map[string]string
This commit is contained in:
@@ -39,16 +39,17 @@ const (
|
||||
MinPkgLDAP = 1000
|
||||
MinPkgMail = 1100
|
||||
MinPkgMailer = 1200
|
||||
MinPkgNetwork = 1300
|
||||
MinPkgNats = 1400
|
||||
MinPkgNutsDB = 1500
|
||||
MinPkgOAuth = 1600
|
||||
MinPkgAws = 1700
|
||||
MinPkgRouter = 1800
|
||||
MinPkgSemaphore = 1900
|
||||
MinPkgSMTP = 2000
|
||||
MinPkgStatic = 2100
|
||||
MinPkgVersion = 2200
|
||||
MinPkgMailPooler = 1300
|
||||
MinPkgNetwork = 1400
|
||||
MinPkgNats = 1500
|
||||
MinPkgNutsDB = 1600
|
||||
MinPkgOAuth = 1700
|
||||
MinPkgAws = 1800
|
||||
MinPkgRouter = 1900
|
||||
MinPkgSemaphore = 2000
|
||||
MinPkgSMTP = 2100
|
||||
MinPkgStatic = 2200
|
||||
MinPkgVersion = 2300
|
||||
|
||||
MinAvailable = 4000
|
||||
|
||||
|
Reference in New Issue
Block a user