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

update generated RST

parent 37c715b8
......@@ -6,8 +6,6 @@
.. role:: ref(emphasis)
.. _vmod_dispatch(3):
=============
vmod_dispatch
=============
......@@ -21,31 +19,28 @@ Varnish Module for dispatching control to VCL labels or subroutines
SYNOPSIS
========
.. parsed-literal::
::
import dispatch [from "path"] ;
new xlabel = dispatch.label()
import dispatch [from "path"]
VOID xlabel.add(INT n, STRING label)
new xlabel = dispatch.label()
VOID xlabel.add(INT n, STRING label)
VOID xlabel.go(INT)
STRING xlabel.string(INT)
new xsub = dispatch.sub()
new xsub = dispatch.sub()
VOID xsub.add(INT n, STRING sub)
VOID xsub.call(INT n)
STRING xsub.string(INT)
STRING version()
STRING version()
::
# VMOD version
......@@ -58,76 +53,63 @@ Varnish Module (VMOD) for dispatching control to VCL labels or subroutines.
... XXX ...
.. _obj_label:
.. _vmod_dispatch.label:
new xlabel = dispatch.label()
-----------------------------
.. _func_label.add:
.. _vmod_dispatch.label.add:
VOID xlabel.add(INT n, STRING label)
------------------------------------
.. _func_label.go:
.. _vmod_dispatch.label.go:
VOID xlabel.go(INT)
-------------------
.. _func_label.string:
.. _vmod_dispatch.label.string:
STRING xlabel.string(INT)
-------------------------
.. _obj_sub:
.. _vmod_dispatch.sub:
new xsub = dispatch.sub()
-------------------------
.. _func_sub.add:
.. _vmod_dispatch.sub.add:
VOID xsub.add(INT n, STRING sub)
--------------------------------
.. _func_sub.call:
.. _vmod_dispatch.sub.call:
VOID xsub.call(INT n)
---------------------
.. _func_sub.string:
.. _vmod_dispatch.sub.string:
STRING xsub.string(INT)
-----------------------
.. _func_version:
.. _vmod_dispatch.version:
STRING version()
----------------
......@@ -169,7 +151,6 @@ SEE ALSO
* vcl(7)
* VMOD source repository: https://code.uplex.de/uplex-varnish/libvmod-dispatch
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