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:
acl GET method GET
icap_enable on icap_service service_req reqmod_precache icap://127.0.0.1:1344/injectjs/ adaptation_access service_req allow GET adaptation_access service_req deny all
(The ICAP server needs to be started before Squid is.)
Set your browser to use the Squid proxy.
Some Refrences: - https://groups.google.com/forum/#!topic/golang-nuts/J-Y4LtdGNSw
Click to show internal directories.
Click to hide internal directories.