---
source: varnish-macros/src/tests.rs
---
<!--
!!!!!! WARNING: DO NOT EDIT THIS FILE!
This file was generated from the Varnish VMOD source code.
It will be automatically updated on each build.
-->
# Varnish Module (VMOD) `multi_constructor`
```vcl
// Place import statement at the top of your VCL file
// This loads vmod from a standard location
import multi_constructor;
// Or load vmod from a specific file
import multi_constructor from "path/to/libmulti_constructor.so";
```
## Object `kv`
### Constructor `multi_constructor.new([INT cap])`
Create a new key-value store with optional capacity.
### Constructor `multi_constructor.new_fixed()`
Create a new key-value store with a fixed capacity of 10.
### Method `VOID <object>.set(STRING key, STRING value)`
### Method `STRING <object>.get(STRING key)`