diff options
| author | Shulhan <ms@kilabit.info> | 2026-02-07 16:03:19 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-02-07 16:03:19 +0700 |
| commit | 3714f15bf29cfb79c3623784e391a7a4854f6815 (patch) | |
| tree | 09913bd02652a11dd1b894c0e2093f78f522548c /CHANGELOG.adoc | |
| parent | 759c9b8e542d2ce159228e35c6d4138fbaef25de (diff) | |
| download | ciigo-3714f15bf29cfb79c3623784e391a7a4854f6815.tar.xz | |
all: embed struct [lib/http.ServerOptions] directly to [ServeOptions]
At this point, all of the fields in the struct ServeOptions is the
same with [lib/http.ServerOptions] except IsDevelopment and
ConvertOptions.
For field IsDevelopment we keep in the struct.
For field ConvertOptions we remove it and let the caller pass it on
Serve function or InitHTTPServer method.
Diffstat (limited to 'CHANGELOG.adoc')
| -rw-r--r-- | CHANGELOG.adoc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index f4d639b..6b209dd 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -15,6 +15,16 @@ Legend, [#v0_16_0] == ciigo v0.16.0 (2026-xx-xx) +**🪵 all: embed struct [lib/http.ServerOptions] directly to [ServeOptions]** + +At this point, all of the fields in the struct ServeOptions is the +same with [lib/http.ServerOptions] except IsDevelopment and +ConvertOptions. + +For field IsDevelopment we keep in the struct. +For field ConvertOptions we remove it and let the caller pass it on +Serve function or InitHTTPServer method. + **🌼 all: add field Listener to ServeOptions** The field Listener allow passing [net.Listener] instance for accepting |
