Commit Graph

30 Commits (281e2f00463d7c7947cc37344ddab9d2dff3409d)

Author SHA1 Message Date
M. Efe Çetin 281e2f0046
v3 (feature): merge Listen methods & ListenConfig (#1930)
*  v3: new Start method for app

*  v3: new Start method for app

*  v3: new Start method for app

*  v3: new Start method for app

*  v3: new Start method for app

*  v3: new Start method for app

* fix tests

* improve graceful shutdown

* update

* Start -> Listen

* rename test funcs.

* Add Test_Listen_Graceful_Shutdown test.

* add OnShutdownSuccess

* fix tests

* fix tests

* split listen & listener

* typo

* Add retry logic to tests

* Add retry logic to tests

* Add retry logic to tests

* Add retry logic to tests

Co-authored-by: René Werner <rene@gofiber.io>
2022-09-08 07:57:05 +02:00
Trim21 c964fda009
v3(tests): use testify for assertion (#2036)
* replace

* write

* rewrite more

* rewrite

* rewrite

* fix

* rewrite
2022-08-22 07:57:10 +02:00
Muhammed Efe Çetin f119794035
v3: replace io/ioutil by io and os, update version constant 2022-06-01 18:34:22 +03:00
Muhammed Efe Çetin 1188144d78
🎉 v3: init 2022-05-31 17:35:49 +03:00
Gusted 7b7dcf29f7
♻️ Tidy up the codebase (#1613)
* run gofmt

* add t.Helper()

* Simplify assigns

* Simplify make operation

* Remove unused field in struct

* Fix typo

* Run gofumpt ./

* Consistent spacing

* len(...) can never be negative

* Use ReplaceAll

* Simplify operation

* Remove deadcode

* Fix typo

* Tidy up `} else { if ...`

* Fix AssertEqual

* Remove t.Helper() to fix go1.14.15
2021-11-05 08:00:03 +01:00
Rupesh Harode 9dd39c0e55
🩹 Fix: corrects ipv6 loopback ip shown on UI (#1517)
Author:    Rupesh Harode <rupeshharode@gmail.com>

Co-authored-by: Rupesh Harode <rupesh.harode@dailyrounds.org>
2021-09-03 14:23:03 +02:00
Kiyon 00dbdd5fb3 👷 Add network type constant 2021-02-08 11:35:17 +08:00
Kiyon 0ec0f50cfd 🔥 Add network option 2021-02-07 13:55:13 +08:00
ReneWerner87 42755c30e6 Accelerate start process for many routes #1081 2021-01-24 13:02:21 +01:00
Fenny 8555f0bf7c 🧹 remove comment 2020-10-01 23:30:02 +02:00
Fenny 9fd68c62b0 ✏ update comments 2020-09-29 21:49:50 +02:00
kiyon 27cd8ad9c5 👷 improve app and prefork test cases 2020-09-15 09:02:24 +08:00
Fenny 2768ea2a77 🙌 make utils public
Co-Authored-By: RW <7063188+ReneWerner87@users.noreply.github.com>
2020-09-14 12:12:29 +02:00
Fenny a3cac71ae8 🔦 move utils to internal 2020-09-14 09:09:06 +02:00
Fenny ec5d66e7a8 v2 2020-09-13 11:20:11 +02:00
kiyon 86af9e486c 💯 remain code coverage 2020-07-18 10:42:22 +08:00
Fenny f6b09e59b3 🧙‍♂️ Add IPv6 Support in Prefork mode 2020-07-18 01:44:23 +02:00
Fenny 8a74cc3843 🧙‍♂️ Add IPv6 support for Prefork 2020-07-18 01:41:18 +02:00
Fenny 5218eb462d 🍡 o͡͡͡╮༼ ಠДಠ ༽╭o͡͡͡━☆゚.*・。゚ IPv6 support for Prefork 2020-07-18 01:36:56 +02:00
Fenny d77c2691f6 🩹 ༼ ಥل͟ಥ ༽ 2020-07-18 01:31:39 +02:00
Fenny c9cb30766c 🩹 ( ͡↑ ͜ʖ ͡↑) Test is failing 2020-07-18 01:29:03 +02:00
Fenny 29c9a97556 🩹 Update IPv6 test 2020-07-18 01:11:16 +02:00
kiyon 227c751abc 🌼 separate different logic on each OS for child process to watch if master process exits 2020-07-17 06:51:57 +08:00
kiyon 30a704b5f9 👷 improve test coverage 2020-07-16 16:42:36 +08:00
Fenny da85c85c14 🧪 Increase test coverage: 96% 2020-07-15 17:43:30 +02:00
Fenny 9275592a51 🩹 Fix Prefork Test 2020-07-15 15:20:10 +02:00
Fenny d66d6a9cd5 🩹 Fix prefork test case 2020-07-15 15:16:43 +02:00
Fenny 7fc4b37dfb 🩹 Fix prefork test 2020-07-15 15:10:59 +02:00
kiyon 1499e2beb2 💯 cover prefork error statement 2020-07-15 15:13:02 +08:00
kiyon b0e3979437 👍 improve prefork test coverage 2020-07-15 10:37:57 +08:00