diff options
| author | Shulhan <ms@kilabit.info> | 2024-02-21 01:45:56 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-02-21 01:45:56 +0700 |
| commit | e8d3716995e9229a61a32894689c379e22475420 (patch) | |
| tree | 9c20154a220d9110cd09574fe0092e62e3fac8eb /http_server.go | |
| parent | f8b6b66d9b407f7441a9170b46e42d928532f732 (diff) | |
| download | gorankusu-e8d3716995e9229a61a32894689c379e22475420.tar.xz | |
all: move constants declaration closer to its usage
Diffstat (limited to 'http_server.go')
| -rw-r--r-- | http_server.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/http_server.go b/http_server.go index e0ed45d..3c0a77f 100644 --- a/http_server.go +++ b/http_server.go @@ -25,6 +25,11 @@ const ( pathAPITargets = `/_gorankusu/api/targets` ) +// List of HTTP parameters. +const ( + paramNameName = "name" +) + // List of HTTP APIs provided by Gorankusu HTTP server. var ( apiEnvironmentGet = &libhttp.Endpoint{ |
