accesslog-proxy

command
v12.2.8 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package main is a proxy + accesslog example. In this example we will make a small proxy which listens requests on "/proxy/+path". With two accesslog instances, one for the main application and one for the /proxy/ requests. Of cource, you could a single accesslog for the whole application, but for the sake of the example let's log them separately.

We will make use of iris.StripPrefix and host.ProxyHandler.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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