Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-dispatch
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-dispatch
Commits
1da2190b
Commit
1da2190b
authored
Feb 05, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update generated RST
parent
37c715b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
40 deletions
+21
-40
README.rst
README.rst
+21
-40
No files found.
README.rst
View file @
1da2190b
...
...
@@ -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
=========
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment