Commit 1da2190b authored by Nils Goroll's avatar Nils Goroll

update generated RST

parent 37c715b8
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
.. role:: ref(emphasis) .. role:: ref(emphasis)
.. _vmod_dispatch(3):
============= =============
vmod_dispatch vmod_dispatch
============= =============
...@@ -21,31 +19,28 @@ Varnish Module for dispatching control to VCL labels or subroutines ...@@ -21,31 +19,28 @@ Varnish Module for dispatching control to VCL labels or subroutines
SYNOPSIS SYNOPSIS
======== ========
.. parsed-literal::
:: import dispatch [from "path"]
import dispatch [from "path"] ;
new xlabel = dispatch.label()
VOID xlabel.add(INT n, STRING label) new xlabel = dispatch.label()
VOID xlabel.add(INT n, STRING label)
VOID xlabel.go(INT) VOID xlabel.go(INT)
STRING xlabel.string(INT) STRING xlabel.string(INT)
new xsub = dispatch.sub() new xsub = dispatch.sub()
VOID xsub.add(INT n, STRING sub) VOID xsub.add(INT n, STRING sub)
VOID xsub.call(INT n) VOID xsub.call(INT n)
STRING xsub.string(INT) STRING xsub.string(INT)
STRING version()
STRING version()
:: ::
# VMOD version # VMOD version
...@@ -58,76 +53,63 @@ Varnish Module (VMOD) for dispatching control to VCL labels or subroutines. ...@@ -58,76 +53,63 @@ Varnish Module (VMOD) for dispatching control to VCL labels or subroutines.
... XXX ... ... XXX ...
.. _vmod_dispatch.label:
.. _obj_label:
new xlabel = dispatch.label() new xlabel = dispatch.label()
----------------------------- -----------------------------
.. _func_label.add: .. _vmod_dispatch.label.add:
VOID xlabel.add(INT n, STRING label) VOID xlabel.add(INT n, STRING label)
------------------------------------ ------------------------------------
.. _vmod_dispatch.label.go:
.. _func_label.go:
VOID xlabel.go(INT) VOID xlabel.go(INT)
------------------- -------------------
.. _vmod_dispatch.label.string:
.. _func_label.string:
STRING xlabel.string(INT) STRING xlabel.string(INT)
------------------------- -------------------------
.. _vmod_dispatch.sub:
.. _obj_sub:
new xsub = dispatch.sub() new xsub = dispatch.sub()
------------------------- -------------------------
.. _func_sub.add: .. _vmod_dispatch.sub.add:
VOID xsub.add(INT n, STRING sub) VOID xsub.add(INT n, STRING sub)
-------------------------------- --------------------------------
.. _vmod_dispatch.sub.call:
.. _func_sub.call:
VOID xsub.call(INT n) VOID xsub.call(INT n)
--------------------- ---------------------
.. _vmod_dispatch.sub.string:
.. _func_sub.string:
STRING xsub.string(INT) STRING xsub.string(INT)
----------------------- -----------------------
.. _vmod_dispatch.version:
.. _func_version:
STRING version() STRING version()
---------------- ----------------
...@@ -169,7 +151,6 @@ SEE ALSO ...@@ -169,7 +151,6 @@ SEE ALSO
* vcl(7) * vcl(7)
* VMOD source repository: https://code.uplex.de/uplex-varnish/libvmod-dispatch * VMOD source repository: https://code.uplex.de/uplex-varnish/libvmod-dispatch
COPYRIGHT COPYRIGHT
========= =========
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment