command
module
Version:
v0.9.0
Opens a new window with list of versions in this module.
Published: Jul 11, 2026
License: BSD-3-Clause
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
http2log
A simple tool to write log file over HTTP protocol.
Installation
go install github.com/fernvenue/http2log@latest
Features
- Write file over HTTP protocol;
- HTTP header
X-API-KEY authentication;
Flags
-u, --url-path: URL path of log interface, will use /http2log by default.
-k, --api-key: HTTP header 'X-API-KEY' content, will read the environment variable if not set.
-f, --file-path: Path to log file, will use /var/log/http2log.log by default.
-a, --listen-address: Bind address, will use 127.0.0.1 by default.
-p, --listen-port: Bind port, will use TCP port 8283 by default.
-v, --version: Print version and exit.
-h, --help: Print help and exit.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.