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
37c715b8
Commit
37c715b8
authored
Dec 07, 2018
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update generated rst
parent
8d059389
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
44 deletions
+53
-44
README.rst
README.rst
+53
-44
No files found.
README.rst
View file @
37c715b8
...
...
@@ -21,7 +21,29 @@ Varnish Module for dispatching control to VCL labels or subroutines
SYNOPSIS
========
import dispatch [from "path"] ;
::
import dispatch [from "path"] ;
new xlabel = dispatch.label()
VOID xlabel.add(INT n, STRING label)
VOID xlabel.go(INT)
STRING xlabel.string(INT)
new xsub = dispatch.sub()
VOID xsub.add(INT n, STRING sub)
VOID xsub.call(INT n)
STRING xsub.string(INT)
STRING version()
::
...
...
@@ -36,93 +58,79 @@ Varnish Module (VMOD) for dispatching control to VCL labels or subroutines.
... XXX ...
CONTENTS
========
* VOID label()
* VOID sub()
* STRING version()
.. _obj_label:
label
-----
new xlabel = dispatch.label()
-----
------------------------
::
new OBJ = VOID label()
.. _func_label.add:
label.add
---------
VOID xlabel.add(INT n, STRING label)
------------------------------------
::
VOID label.add(INT n, STRING label)
.. _func_label.go:
label.go
--------
VOID xlabel.go(INT)
-------------------
::
VOID label.go(INT)
.. _func_label.string:
label.string
------------
STRING xlabel.string(INT)
-------------------------
::
STRING label.string(INT)
.. _obj_sub:
sub
---
new xsub = dispatch.sub()
---
----------------------
::
new OBJ = VOID sub()
.. _func_sub.add:
sub.add
-------
VOID xsub.add(INT n, STRING sub)
--------------------------------
::
VOID sub.add(INT n, STRING sub)
.. _func_sub.call:
sub.call
--------
VOID xsub.call(INT n)
---------------------
::
VOID sub.call(INT n)
.. _func_sub.string:
sub.string
----------
STRING xsub.string(INT)
----------
-------------
::
STRING sub.string(INT)
.. _func_version:
version
-------
::
STRING version()
.. _func_version:
STRING version()
----------------
Return the version string for this VMOD.
...
...
@@ -161,6 +169,7 @@ 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