example

command
v0.0.0-...-bdcc1ba Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2013 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

An example of how to use go-icap.

Run this program and Squid on the same machine. Put the following lines in squid.conf:

icap_enable on icap_service service_req reqmod_precache icap://127.0.0.1:11344/golang adaptation_access service_req allow all

(The ICAP server needs to be started before Squid is.)

Set your browser to use the Squid proxy.

Try browsing to http://gateway/ and http://java.com/

Jump to

Keyboard shortcuts

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