http2log

command module
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2026 License: BSD-3-Clause Imports: 7 Imported by: 0

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

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL