This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // extendemos el objeto array para soportar promesas | |
| Array.prototype.asyncForEach = async function(callback) { | |
| for (let index = 0; index < this.length; index++) { | |
| await callback(this[index], index, this) | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| frontend localnodes | |
| bind *:8080 | |
| mode tcp | |
| default_backend nodes | |
| timeout client 1m | |
| backend nodes | |
| mode tcp | |
| balance roundrobin | |
| server web01 127.0.0.1:4444 | |
| server web02 127.0.0.1:5555 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| project | |
| |-app | |
| |-entities | |
| |-moneyEntitie.php | |
| |-loqsea... | |
| ========================================= | |
| tests | |
| |-app | |
| |-entities | |
| |-monetTestEntitie.php |