diff options
| author | Shulhan <ms@kilabit.info> | 2026-02-11 22:50:27 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-02-11 22:50:53 +0700 |
| commit | 00dfc937cec1b7eb9ebb1024fae5228ebf9f0341 (patch) | |
| tree | b0aaca000ad59993a0a862dda17a7fd778cf1518 /ciigo.go | |
| parent | 1e833ea2a7d0300915c4c8a5c7bef09909ada915 (diff) | |
| download | ciigo-00dfc937cec1b7eb9ebb1024fae5228ebf9f0341.tar.xz | |
cmd/ciigo: add option to set base path and shutdown idle duration
The `-base-path` option set the URL prefix for serving HTTP request.
This allow serving the content under the prefix other than "/".
The `-shutdown-idle` option set the duration when server will stop
accepting new connections and shutting down.
This option can be helpful to reduce the resources on local environment.
Diffstat (limited to 'ciigo.go')
| -rw-r--r-- | ciigo.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,7 @@ const ( ) // Version define the latest tagged release of this module. -var Version = `0.16.0` +var Version = `0.17.0` // defExcludes define default files to be excludes on GoEmbed. var defExcludes = []string{ |
