GoLang VarnishAdmin::banUrl

request it (263)
GoLang replacement for PHP's VarnishAdmin::banUrl [edit | history]



Do you know a GoLang replacement for PHP's VarnishAdmin::banUrl? Write it!

PHP VarnishAdmin::banUrl

PHP original manual for VarnishAdmin::banUrl [ show | php.net ]

VarnishAdmin::banUrl

(PECL varnish >= 0.3)

VarnishAdmin::banUrlBan an URL using a VCL expression

Description

public int VarnishAdmin::banUrl ( string $vcl_regex )

Parameters

vcl_regex

URL regular expression in PCRE compatible syntax. It's based on the ban.url varnish command.

Return Values

Returns the varnish command status.