You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: add a simple support for app.Listen
* fix: fix the nil access error
* chore: add test case for simple tls
* fix: align the struct
* chore: change the test case
can't passed and not chack the file yet
* fix: use TLS1.2 min
* Fix lint issues
* Fix call to os.MkdirTemp
* Fix test check order
* Update unit-tests for ACME
* Update docs
* Fix identation of whats_new examples
* More updates to docs
* Remove ACME tests. Add check for tlsConfig
* Add ACME section to whats_new docs
* Update docs/whats_new.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Update fiber.md
* Update whats_new.md
---------
Co-authored-by: Juan Calderon-Perez <[email protected]>
Co-authored-by: Juan Calderon-Perez <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
| <Referenceid="listeneraddrfunc">ListenerAddrFunc</Reference> |`func(addr net.Addr)`| Allows accessing and customizing `net.Listener`. |`nil`|
115
115
| <Referenceid="listenernetwork">ListenerNetwork</Reference> |`string`| Known networks are "tcp", "tcp4" (IPv4-only), "tcp6" (IPv6-only). WARNING: When prefork is set to true, only "tcp4" and "tcp6" can be chosen. |`tcp4`|
116
116
| <Referenceid="onshutdownerror">OnShutdownError</Reference> |`func(err error)`| Allows to customize error behavior when gracefully shutting down the server by given signal. Prints error with `log.Fatalf()`|`nil`|
117
-
| <Referenceid="onshutdownsuccess">OnShutdownSuccess</Reference> |`func()`| Allows customizing success behavior when gracefully shutting down the server by given signal. |`nil`|
117
+
| <Referenceid="onshutdownsuccess">OnShutdownSuccess</Reference> |`func()`| Allows customizing success behavior when gracefully shutting down the server by given signal. |`nil`|
118
118
| <Referenceid="tlsconfigfunc">TLSConfigFunc</Reference> |`func(tlsConfig *tls.Config)`| Allows customizing `tls.Config` as you want. |`nil`|
119
+
| <Referenceid="autocertmanager">AutoCertManager</Reference> |`func(tlsConfig *tls.Config)`| Manages TLS certificates automatically using the ACME protocol. Enables integration with Let's Encrypt or other ACME-compatible providers. |`nil`|
You can pass your own [`net.Listener`](https://pkg.go.dev/net/#Listener) using the `Listener` method. This method can be used to enable **TLS/HTTPS** with a custom tls.Config.
0 commit comments