mirror of
https://github.com/vacp2p/nim-libp2p-experimental.git
synced 2025-01-12 19:34:23 +00:00
update docs for add-socks5-support
This commit is contained in:
parent
6163454106
commit
de9c6236c5
@ -260,7 +260,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:18 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
File diff suppressed because one or more lines are too long
@ -919,7 +919,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:15 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -391,7 +391,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:15 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1739,7 +1739,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:17 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:14 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -398,7 +398,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:15 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1401,7 +1401,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:15 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:12 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -3040,7 +3040,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:14 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:12 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -940,7 +940,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:15 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:12 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -275,7 +275,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:16 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -688,9 +688,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Return string representation of <tt class="docutils literal"><span class="pre">buffer</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L736"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L728"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L736" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L728" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -700,9 +700,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Return string representation of <tt class="docutils literal"><span class="pre">field</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L740"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L732"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L740" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L732" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -712,9 +712,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Compares field <tt class="docutils literal"><span class="pre">field</span></tt> data with <tt class="docutils literal"><span class="pre">data</span></tt> and returns <tt class="docutils literal"><span class="pre">true</span></tt> if both buffers are equal.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L698"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L690"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L698" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L690" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -931,9 +931,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Finishes buffer or composite and prepares it for writing.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L877"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L869"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L877" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L869" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -943,9 +943,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Return <tt class="docutils literal"><span class="pre">field</span></tt> as Asn1Buffer to enter composite types.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L694"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L686"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L694" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L686" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -955,9 +955,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Initialize empty <tt class="docutils literal"><span class="pre">Asn1Buffer</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L724"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L716"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L724" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L716" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -968,9 +968,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Initialize <tt class="docutils literal"><span class="pre">Asn1Buffer</span></tt> from array of bytes <tt class="docutils literal"><span class="pre">data</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L716"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L708"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L716" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L708" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -980,9 +980,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Initialize <tt class="docutils literal"><span class="pre">Asn1Buffer</span></tt> from hexadecimal string <tt class="docutils literal"><span class="pre">data</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L720"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L712"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L720" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L712" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -992,9 +992,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Initialize <tt class="docutils literal"><span class="pre">Asn1Composite</span></tt> with tag context-specific id <tt class="docutils literal"><span class="pre">id</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L732"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L724"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L732" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L724" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1004,9 +1004,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Initialize <tt class="docutils literal"><span class="pre">Asn1Composite</span></tt> with tag <tt class="docutils literal"><span class="pre">tag</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L728"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L720"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L728" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L720" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1054,9 +1054,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<p>This procedure must be used to write <tt class="docutils literal"><span class="pre"><span class="Identifier">NULL</span></span></tt>, <tt class="docutils literal"><span class="pre"><span class="DecNumber">0</span></span></tt> or empty <tt class="docutils literal"><span class="pre"><span class="Identifier">BIT</span> <span class="Identifier">STRING</span></span></tt>, <tt class="docutils literal"><span class="pre"><span class="Identifier">OCTET</span> <span class="Identifier">STRING</span></span></tt> types.</p>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L788"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L780"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L788" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L780" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1070,9 +1070,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<p>For <tt class="docutils literal"><span class="pre"><span class="Identifier">BIT</span> <span class="Identifier">STRING</span></span></tt> you can use <tt class="docutils literal"><span class="pre">bits</span></tt> argument to specify number of used bits.</p>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L830"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L822"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L830" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L822" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1083,9 +1083,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L860"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L852"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L860" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L852" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1095,9 +1095,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Write bool <tt class="docutils literal"><span class="pre">value</span></tt> to buffer or composite as ASN.1 <tt class="docutils literal"><span class="pre"><span class="Identifier">BOOLEAN</span></span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L823"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L815"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L823" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L815" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1108,9 +1108,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Write uint64 <tt class="docutils literal"><span class="pre">value</span></tt> to buffer or composite as ASN.1 <tt class="docutils literal"><span class="pre"><span class="Identifier">INTEGER</span></span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L816"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/crypto/minasn1.nim#L808"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L816" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/crypto/minasn1.nim#L808" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1201,7 +1201,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:14 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:11 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1021,7 +1021,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:14 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:11 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -936,7 +936,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:15 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:12 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -375,7 +375,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:15 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -446,7 +446,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:15 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -357,7 +357,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:17 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:14 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -748,11 +748,6 @@ window.addEventListener("DOMContentLoaded", main2);
|
||||
<li><a class="reference" href="#protoName%2CMultiAddress"
|
||||
title="protoName(ma: MultiAddress): MaResult[string]">protoName(ma: MultiAddress): MaResult[string]</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">shcopy
|
||||
<li><a class="reference" href="#shcopy%2CMultiAddress%2CMultiAddress"
|
||||
title="shcopy(m1: var MultiAddress; m2: MultiAddress)">shcopy(m1: var MultiAddress; m2: MultiAddress)</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">toString
|
||||
<li><a class="reference" href="#toString%2CMultiAddress"
|
||||
@ -1648,9 +1643,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Return pattern <tt class="docutils literal"><span class="pre">pat</span></tt> as string.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L1085"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L1077"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L1085" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L1077" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1661,9 +1656,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Return string representation of MultiAddress <tt class="docutils literal"><span class="pre">value</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L767"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L760"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L767" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L760" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1676,9 +1671,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<p>This procedure performs validation of concatenated result and can raise exception on error. </p>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L1025"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L1017"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L1025" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L1017" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1691,9 +1686,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<p>This procedure performs validation of concatenated result and can raise exception on error. </p>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L1015"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L1007"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L1015" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L1007" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1704,9 +1699,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Check of two MultiAddress are equal
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L1035"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L1027"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L1035" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L1027" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1717,9 +1712,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Returns partial MultiAddress with MultiCodec <tt class="docutils literal"><span class="pre">codec</span></tt> and present in MultiAddress <tt class="docutils literal"><span class="pre">ma</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L726"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L719"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L726" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L719" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1730,9 +1725,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Returns part with index <tt class="docutils literal"><span class="pre">i</span></tt> of MultiAddress <tt class="docutils literal"><span class="pre">ma</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L662"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L655"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L662" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L655" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1743,9 +1738,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Returns parts with slice <tt class="docutils literal"><span class="pre">slice</span></tt> of MultiAddress <tt class="docutils literal"><span class="pre">ma</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L670"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L663"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L670" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L663" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1756,9 +1751,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L1008"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L1000"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L1008" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L1000" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1769,9 +1764,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L999"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L991"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L999" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L991" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1782,9 +1777,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Returns <tt class="docutils literal"><span class="pre">true</span></tt>, if address with MultiCodec <tt class="docutils literal"><span class="pre">codec</span></tt> present in MultiAddress <tt class="docutils literal"><span class="pre">ma</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L717"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L710"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L717" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L710" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1795,9 +1790,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Get MultiBase encoded representation of <tt class="docutils literal"><span class="pre">ma</span></tt> using encoding <tt class="docutils literal"><span class="pre">encoding</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L788"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L781"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L788" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L781" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1808,9 +1803,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L1100"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L1092"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L1100" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L1092" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1821,9 +1816,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L1115"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L1107"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L1115" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L1107" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1845,9 +1840,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Return hexadecimal string representation of MultiAddress <tt class="docutils literal"><span class="pre">value</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L780"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L773"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L780" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L773" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1857,9 +1852,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Initialize empty MultiAddress.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L941"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L933"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L941" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L933" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1870,9 +1865,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Initialize MultiAddress using chronos.TransportAddress (IPv4/IPv6/Unix) and protocol information (UDP/TCP).
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L967"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L959"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L967" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L959" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1884,9 +1879,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L945"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L937"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L945" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L937" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1897,9 +1892,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Initialize MultiAddress with array of bytes <tt class="docutils literal"><span class="pre">data</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L926"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L918"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L926" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L918" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1911,9 +1906,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Initialize MultiAddress object from protocol id <tt class="docutils literal"><span class="pre">protocol</span></tt> and array of bytes <tt class="docutils literal"><span class="pre">value</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L816"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L808"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L816" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L808" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1924,9 +1919,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Initialize MultiAddress object from protocol id <tt class="docutils literal"><span class="pre">protocol</span></tt> and integer <tt class="docutils literal"><span class="pre">value</span></tt>. This procedure can be used to instantiate <tt class="docutils literal"><span class="pre">tcp</span></tt>, <tt class="docutils literal"><span class="pre">udp</span></tt>, <tt class="docutils literal"><span class="pre">dccp</span></tt> and <tt class="docutils literal"><span class="pre">sctp</span></tt> MultiAddresses.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L854"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L846"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L854" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L846" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1937,9 +1932,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Initialize MultiAddress object from protocol id <tt class="docutils literal"><span class="pre">protocol</span></tt> and peer id <tt class="docutils literal"><span class="pre">value</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L848"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L840"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L848" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L840" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1950,9 +1945,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Initialize MultiAddress object from string representation <tt class="docutils literal"><span class="pre">value</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L880"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L872"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L880" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L872" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1962,9 +1957,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Returns <tt class="docutils literal"><span class="pre">true</span></tt>, if MultiAddress <tt class="docutils literal"><span class="pre">ma</span></tt> is empty or non initialized.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L995"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L987"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L995" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L987" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -1974,9 +1969,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L710"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L703"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L710" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L703" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -2023,9 +2018,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Match full <tt class="docutils literal"><span class="pre">address</span></tt> using pattern <tt class="docutils literal"><span class="pre">pat</span></tt> and return <tt class="docutils literal"><span class="pre">true</span></tt> if <tt class="docutils literal"><span class="pre">address</span></tt> satisfies pattern.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L1067"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L1059"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L1067" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L1059" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -2036,9 +2031,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Match prefix part of <tt class="docutils literal"><span class="pre">address</span></tt> using pattern <tt class="docutils literal"><span class="pre">pat</span></tt> and return <tt class="docutils literal"><span class="pre">true</span></tt> if <tt class="docutils literal"><span class="pre">address</span></tt> starts with pattern.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L1076"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L1068"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L1076" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L1068" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -2051,9 +2046,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<p>If current MultiAddress do not have argument value, then result array will be empty.</p>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L589"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L582"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L589" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L582" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -2066,9 +2061,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<p>If current MultiAddress do not have argument value, then result array will be empty.</p>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L599"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L592"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L599" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L592" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -2081,9 +2076,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<p>If current MultiAddress do not have argument value, then result will be <tt class="docutils literal"><span class="pre">0</span></tt>.</p>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L553"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L547"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L553" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L547" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -2094,9 +2089,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Returns MultiAddress <tt class="docutils literal"><span class="pre">ma</span></tt> protocol code.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L525"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L521"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L525" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L521" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -2107,9 +2102,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Returns list of protocol codecs inside of MultiAddress <tt class="docutils literal"><span class="pre">value</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L773"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L766"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L773" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L766" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -2120,22 +2115,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Returns MultiAddress <tt class="docutils literal"><span class="pre">ma</span></tt> protocol name.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L539"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L534"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L539" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="shcopy,MultiAddress,MultiAddress" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#shcopy%2CMultiAddress%2CMultiAddress"><span class="Identifier">shcopy</span></a><span class="Other">(</span><span class="Identifier">m1</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="multiaddress.html#MultiAddress"><span class="Identifier">MultiAddress</span></a><span class="Other">;</span> <span class="Identifier">m2</span><span class="Other">:</span> <a href="multiaddress.html#MultiAddress"><span class="Identifier">MultiAddress</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> </span><span class="Identifier">public</span><span class="Other">,</span>
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L521"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L521" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L534" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -2146,9 +2128,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Return string representation of MultiAddress <tt class="docutils literal"><span class="pre">value</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L735"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L728"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L735" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L728" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -2158,9 +2140,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Returns <tt class="docutils literal"><span class="pre">true</span></tt> if MultiAddress <tt class="docutils literal"><span class="pre">ma</span></tt> is valid.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L794"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L787"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L794" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L787" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -2171,9 +2153,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L1097"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L1089"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L1097" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L1089" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -2184,9 +2166,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Write MultiAddress value <tt class="docutils literal"><span class="pre">ma</span></tt> to buffer <tt class="docutils literal"><span class="pre">vb</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L784"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L777"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L784" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L777" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -2202,9 +2184,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Iterates over all addresses inside of MultiAddress <tt class="docutils literal"><span class="pre">ma</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L674"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/multiaddress.nim#L667"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L674" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/multiaddress.nim#L667" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -2223,7 +2205,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:17 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:14 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -396,7 +396,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:16 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:13 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -481,7 +481,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:15 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:13 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -689,7 +689,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:16 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:14 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -596,7 +596,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:17 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:15 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -391,7 +391,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:15 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -386,7 +386,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:15 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -518,7 +518,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:17 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:15 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -547,7 +547,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:15 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -374,7 +374,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:15 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -788,7 +788,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:17 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:14 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
File diff suppressed because one or more lines are too long
@ -938,7 +938,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:13 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:10 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -510,7 +510,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:16 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -466,7 +466,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:16 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -722,7 +722,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:16 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -375,7 +375,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:16 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -548,7 +548,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:16 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -411,7 +411,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:16 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -364,7 +364,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:16 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -620,7 +620,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:17 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:15 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
File diff suppressed because one or more lines are too long
@ -385,7 +385,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:17 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:15 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -239,7 +239,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:18 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -255,7 +255,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:17 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -466,7 +466,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:17 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -509,7 +509,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:18 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -478,7 +478,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:17 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -386,7 +386,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:17 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -230,7 +230,7 @@ window.addEventListener("DOMContentLoaded", main2);
|
||||
routingRecordsHandler*: seq[RoutingRecordsHandler]
|
||||
heartbeatEvents*: seq[AsyncEvent]">GossipSub</a></li>
|
||||
<li><a class="reference" href="#GossipSubParams"
|
||||
title="GossipSubParams = object
|
||||
title="GossipSubParams {.public.} = object
|
||||
explicit*: bool
|
||||
pruneBackoff*: Duration
|
||||
unsubscribeBackoff*: Duration
|
||||
@ -296,7 +296,7 @@ window.addEventListener("DOMContentLoaded", main2);
|
||||
meshFailurePenalty*: float64
|
||||
invalidMessageDeliveries*: float64">TopicInfo</a></li>
|
||||
<li><a class="reference" href="#TopicParams"
|
||||
title="TopicParams = object
|
||||
title="TopicParams {.public.} = object
|
||||
topicWeight*: float64
|
||||
timeInMeshWeight*: float64
|
||||
timeInMeshQuantum*: Duration
|
||||
@ -369,7 +369,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="section" id="6">
|
||||
<h1><a class="toc-backref" href="#6">Imports</a></h1>
|
||||
<dl class="item">
|
||||
<a class="reference external" href="../floodsub.html">../floodsub</a>, <a class="reference external" href="../peertable.html">../peertable</a>, <a class="reference external" href="../mcache.html">../mcache</a>, <a class="reference external" href="../pubsubpeer.html">../pubsubpeer</a>, <a class="reference external" href="../rpc/messages.html">../rpc/messages</a>, <a class="reference external" href="../../../peerid.html">../../../peerid</a>, <a class="reference external" href="../../../multiaddress.html">../../../multiaddress</a>
|
||||
<a class="reference external" href="../floodsub.html">../floodsub</a>, <a class="reference external" href="../peertable.html">../peertable</a>, <a class="reference external" href="../mcache.html">../mcache</a>, <a class="reference external" href="../pubsubpeer.html">../pubsubpeer</a>, <a class="reference external" href="../rpc/messages.html">../rpc/messages</a>, <a class="reference external" href="../../../peerid.html">../../../peerid</a>, <a class="reference external" href="../../../multiaddress.html">../../../multiaddress</a>, <a class="reference external" href="../../../utility.html">../../../utility</a>
|
||||
</dl></div>
|
||||
<div class="section" id="7">
|
||||
<h1><a class="toc-backref" href="#7">Types</a></h1>
|
||||
@ -420,7 +420,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
</dd>
|
||||
</div>
|
||||
<div id="GossipSubParams" class="tohide">
|
||||
<dt><pre><a href="types.html#GossipSubParams"><span class="Identifier">GossipSubParams</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
|
||||
<dt><pre><a href="types.html#GossipSubParams"><span class="Identifier">GossipSubParams</span></a> {.<span class="Identifier">public</span>.} <span class="Other">=</span> <span class="Keyword">object</span>
|
||||
<span class="Identifier">explicit</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">bool</span>
|
||||
<span class="Identifier">pruneBackoff</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Duration</span>
|
||||
<span class="Identifier">unsubscribeBackoff</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Duration</span>
|
||||
@ -550,7 +550,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
</dd>
|
||||
</div>
|
||||
<div id="TopicParams" class="tohide">
|
||||
<dt><pre><a href="types.html#TopicParams"><span class="Identifier">TopicParams</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
|
||||
<dt><pre><a href="types.html#TopicParams"><span class="Identifier">TopicParams</span></a> {.<span class="Identifier">public</span>.} <span class="Other">=</span> <span class="Keyword">object</span>
|
||||
<span class="Identifier">topicWeight</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">float64</span>
|
||||
<span class="Identifier">timeInMeshWeight</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">float64</span>
|
||||
<span class="Identifier">timeInMeshQuantum</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">Duration</span>
|
||||
@ -774,7 +774,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:17 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -403,7 +403,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:17 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -353,7 +353,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:17 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1157,7 +1157,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:17 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
File diff suppressed because one or more lines are too long
@ -342,7 +342,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:17 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -566,7 +566,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:17 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -596,7 +596,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:17 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -409,7 +409,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:20 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:17 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
540
add-socks5-support/libp2p/protocols/rendezvous.html
Normal file
540
add-socks5-support/libp2p/protocols/rendezvous.html
Normal file
@ -0,0 +1,540 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!-- This file is generated by Nim. -->
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<!-- Favicon -->
|
||||
<link rel="shortcut icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA=="/>
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4QQQEwksSS9ZWwAAAk1JREFUWMPtll2ITVEUx39nn/O7Y5qR8f05wtCUUr6ZIS++8pEnkZInPImneaCQ5METNdOkeFBKUhMPRIkHKfEuUZSUlGlKPN2TrgfncpvmnntnmlEyq1Z7t89/rf9a6+y99oZxGZf/XeIq61EdtgKXgdXA0xrYAvBjOIF1AI9zvjcC74BSpndrJPkBWDScTF8Aa4E3wDlgHbASaANmVqlcCnwHvgDvgVfAJ+AikAAvgfVZwLnSVZHZaOuKoQi3ZOMi4NkYkpe1p4J7A8BpYAD49hfIy/oqG0+hLomiKP2L5L+1ubn5115S+3OAn4EnwBlgMzCjyt6ZAnQCJ4A7wOs88iRJHvw50HoujuPBoCKwHWiosy8MdfZnAdcHk8dxXFJ3VQbQlCTJvRBCGdRbD4M6uc5glpY3eAihpN5S5w12diSEcCCEcKUO4ljdr15T76ur1FDDLIQQ3qv71EdDOe3Kxj3leRXyk+pxdWnFWod6Wt2bY3de3aSuUHcPBVimHs7mK9WrmeOF6lR1o9qnzskh2ar2qm1qizpfXaPeVGdlmGN5pb09qMxz1Xb1kLqgzn1RyH7JUXW52lr5e/Kqi9qpto7V1atuUzfnARrV7jEib1T76gG2qxdGmXyiekkt1GswPTtek0aBfJp6YySGBfWg2tPQ0FAYgf1stUfdmdcjarbYJEniKIq6gY/Aw+zWHAC+p2labGpqiorFYgGYCEzN7oQdQClN07O1/EfDyGgC0ALMBdYAi4FyK+4H3gLPsxfR1zRNi+NP7nH5J+QntnXe5B5mpfQAAAAASUVORK5CYII=">
|
||||
|
||||
<!-- Google fonts -->
|
||||
<link href='https://fonts.googleapis.com/css?family=Lato:400,600,900' rel='stylesheet' type='text/css'/>
|
||||
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro:400,500,600' rel='stylesheet' type='text/css'/>
|
||||
|
||||
<!-- CSS -->
|
||||
<title>libp2p/protocols/rendezvous</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../nimdoc.out.css">
|
||||
|
||||
<script type="text/javascript" src="../../dochack.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
function main() {
|
||||
var pragmaDots = document.getElementsByClassName("pragmadots");
|
||||
for (var i = 0; i < pragmaDots.length; i++) {
|
||||
pragmaDots[i].onclick = function(event) {
|
||||
// Hide tease
|
||||
event.target.parentNode.style.display = "none";
|
||||
// Show actual
|
||||
event.target.parentNode.nextElementSibling.style.display = "inline";
|
||||
}
|
||||
}
|
||||
|
||||
function switchTheme(e) {
|
||||
if (e.target.checked) {
|
||||
document.documentElement.setAttribute('data-theme', 'dark');
|
||||
localStorage.setItem('theme', 'dark');
|
||||
} else {
|
||||
document.documentElement.setAttribute('data-theme', 'light');
|
||||
localStorage.setItem('theme', 'light');
|
||||
}
|
||||
}
|
||||
|
||||
const toggleSwitch = document.querySelector('.theme-switch input[type="checkbox"]');
|
||||
if (toggleSwitch !== null) {
|
||||
toggleSwitch.addEventListener('change', switchTheme, false);
|
||||
}
|
||||
|
||||
var currentTheme = localStorage.getItem('theme');
|
||||
if (!currentTheme && window.matchMedia('(prefers-color-scheme: dark)').matches) {
|
||||
currentTheme = 'dark';
|
||||
}
|
||||
if (currentTheme) {
|
||||
document.documentElement.setAttribute('data-theme', currentTheme);
|
||||
|
||||
if (currentTheme === 'dark' && toggleSwitch !== null) {
|
||||
toggleSwitch.checked = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
window.addEventListener('DOMContentLoaded', main);
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="document" id="documentId">
|
||||
<div class="container">
|
||||
<h1 class="title">libp2p/protocols/rendezvous</h1>
|
||||
<div class="row">
|
||||
<div class="three columns">
|
||||
<div class="theme-switch-wrapper">
|
||||
<label class="theme-switch" for="checkbox">
|
||||
<input type="checkbox" id="checkbox" />
|
||||
<div class="slider round"></div>
|
||||
</label>
|
||||
<em>Dark Mode</em>
|
||||
</div>
|
||||
<div id="global-links">
|
||||
<ul class="simple">
|
||||
<li>
|
||||
<a href="../../theindex.html">Index</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="searchInputDiv">
|
||||
Search: <input type="text" id="searchInput"
|
||||
onkeyup="search()" />
|
||||
</div>
|
||||
<div>
|
||||
Group by:
|
||||
<select onchange="groupBy(this.value)">
|
||||
<option value="section">Section</option>
|
||||
<option value="type">Type</option>
|
||||
</select>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
function main2() {
|
||||
// Create the slider
|
||||
var firstSlider = document.getElementsByClassName("theme-switch-wrapper")[0];
|
||||
var newSlider = document.createRange().createContextualFragment(`
|
||||
<div class="theme-switch-wrapper">
|
||||
<label class="theme-switch" for="internalcheckbox">
|
||||
<input type="checkbox" id="internalcheckbox">
|
||||
<div class="slider round"></div>
|
||||
</label>
|
||||
<em>Internal</em>
|
||||
</div>
|
||||
`);
|
||||
|
||||
var sliderInst = firstSlider.after(newSlider);
|
||||
|
||||
// Restore slider state from storage
|
||||
var currentMode = localStorage.getItem('privateMode');
|
||||
if (currentMode == "private") {
|
||||
document.getElementById("internalcheckbox").checked = true;
|
||||
} else {
|
||||
hidePrivateProcs();
|
||||
}
|
||||
|
||||
document.getElementById("internalcheckbox").onclick = togglePrivateProcs;
|
||||
}
|
||||
|
||||
function hidePrivateProcs() {
|
||||
var toHide = document.getElementsByClassName("tohide");
|
||||
for (var i = 0; i < toHide.length; i++) {
|
||||
var pragmas = toHide[i].querySelectorAll("span.Identifier");
|
||||
var public = false;
|
||||
for (var z = 0; z < pragmas.length; z++) {
|
||||
if (pragmas[z].innerText == "public") {
|
||||
public = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (public == false) {
|
||||
toHide[i].style.display = "none";
|
||||
toHide[i].classList.add("hidden");
|
||||
links = document.querySelectorAll("a[href='#" + encodeURIComponent(toHide[i].id) + "']");
|
||||
for (var y = 0; y < links.length; y++) {
|
||||
links[y].parentNode.style.display = "none";
|
||||
links[y].parentNode.classList.add("hidden");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// TOC
|
||||
var nestedSections = document.getElementsByClassName("nested-toc-section");
|
||||
for (var i = 0; i < nestedSections.length; i++) {
|
||||
if (nestedSections[i].querySelectorAll("li:not(.hidden)").length == 0) {
|
||||
nestedSections[i].style.display = "none";
|
||||
nestedSections[i].classList.add("hidden");
|
||||
}
|
||||
}
|
||||
|
||||
var sections = document.getElementsByClassName("simple-toc-section");
|
||||
for (var i = 0; i < sections.length; i++) {
|
||||
if (sections[i].querySelectorAll(".nested-toc-section:not(.hidden)").length == 0) {
|
||||
sections[i].parentNode.style.display = "none";
|
||||
sections[i].parentNode.classList.add("hidden");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Sections
|
||||
var sections = document.getElementsByClassName("section");
|
||||
for (var i = 0; i < sections.length; i++) {
|
||||
if (sections[i].querySelectorAll(".item > div").length == 0) continue;
|
||||
if (sections[i].querySelectorAll(".item > div:not(.hidden)").length == 0) {
|
||||
sections[i].style.display = "none";
|
||||
sections[i].classList.add("hidden");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
function showPrivateProcs() {
|
||||
var toHide = Array.from(document.getElementsByClassName("hidden"));
|
||||
for (var i = 0; i < toHide.length; i++) {
|
||||
toHide[i].style.display = "";
|
||||
toHide[i].classList.remove("hidden");
|
||||
}
|
||||
}
|
||||
|
||||
function togglePrivateProcs() {
|
||||
if (document.getElementById("internalcheckbox").checked) {
|
||||
localStorage.setItem('privateMode', 'private');
|
||||
showPrivateProcs();
|
||||
} else {
|
||||
localStorage.setItem('privateMode', 'public');
|
||||
hidePrivateProcs();
|
||||
}
|
||||
}
|
||||
window.addEventListener("DOMContentLoaded", main2);
|
||||
</script>
|
||||
<ul class="simple simple-toc" id="toc-list">
|
||||
<li>
|
||||
<a class="reference reference-toplevel" href="#6" id="56">Imports</a>
|
||||
<ul class="simple simple-toc-section">
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a class="reference reference-toplevel" href="#7" id="57">Types</a>
|
||||
<ul class="simple simple-toc-section">
|
||||
<li><a class="reference" href="#RendezVous"
|
||||
title="RendezVous = ref object of LPProtocol
|
||||
registered: OffsettedSeq[RegisteredData]
|
||||
namespaces: Table[string, seq[int]]
|
||||
rng: ref HmacDrbgContext
|
||||
salt: string
|
||||
defaultDT: Moment
|
||||
registerDeletionLoop: Future[void]
|
||||
sema: AsyncSemaphore
|
||||
peers: seq[PeerId]
|
||||
cookiesSaved: Table[PeerId, Table[string, seq[byte]]]
|
||||
switch: Switch">RendezVous</a></li>
|
||||
<li><a class="reference" href="#RendezVousError"
|
||||
title="RendezVousError = object of LPError">RendezVousError</a></li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a class="reference reference-toplevel" href="#10" id="60">Consts</a>
|
||||
<ul class="simple simple-toc-section">
|
||||
<li><a class="reference" href="#MinimumDuration"
|
||||
title="MinimumDuration = (value: 7200000000000)">MinimumDuration</a></li>
|
||||
<li><a class="reference" href="#RendezVousCodec"
|
||||
title="RendezVousCodec = "/rendezvous/1.0.0"">RendezVousCodec</a></li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a class="reference reference-toplevel" href="#12" id="62">Procs</a>
|
||||
<ul class="simple simple-toc-section">
|
||||
<ul class="simple nested-toc-section">advertise
|
||||
<li><a class="reference" href="#advertise%2CRendezVous%2Cstring%2CDuration"
|
||||
title="advertise(rdv: RendezVous; ns: string; ttl: Duration = MinimumDuration): Future[
|
||||
void]">advertise(rdv: RendezVous; ns: string; ttl: Duration = MinimumDuration): Future[
|
||||
void]</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">new
|
||||
<li><a class="reference" href="#new%2Ctypedesc%5BRendezVous%5D%2Cref.HmacDrbgContext"
|
||||
title="new(T: typedesc[RendezVous]; rng: ref HmacDrbgContext = newRng()): T:type">new(T: typedesc[RendezVous]; rng: ref HmacDrbgContext = newRng()): T:type</a></li>
|
||||
<li><a class="reference" href="#new%2Ctypedesc%5BRendezVous%5D%2CSwitch%2Cref.HmacDrbgContext"
|
||||
title="new(T: typedesc[RendezVous]; switch: Switch; rng: ref HmacDrbgContext = newRng()): T:type">new(T: typedesc[RendezVous]; switch: Switch; rng: ref HmacDrbgContext = newRng()): T:type</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">request
|
||||
<li><a class="reference" href="#request%2CRendezVous%2Cstring%2Cint"
|
||||
title="request(rdv: RendezVous; ns: string; l: int = 1000'u64.int): Future[
|
||||
seq[PeerRecord]]">request(rdv: RendezVous; ns: string; l: int = 1000'u64.int): Future[
|
||||
seq[PeerRecord]]</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">requestLocally
|
||||
<li><a class="reference" href="#requestLocally%2CRendezVous%2Cstring"
|
||||
title="requestLocally(rdv: RendezVous; ns: string): seq[PeerRecord]">requestLocally(rdv: RendezVous; ns: string): seq[PeerRecord]</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">setup
|
||||
<li><a class="reference" href="#setup%2CRendezVous%2CSwitch"
|
||||
title="setup(rdv: RendezVous; switch: Switch)">setup(rdv: RendezVous; switch: Switch)</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">unsubscribe
|
||||
<li><a class="reference" href="#unsubscribe%2CRendezVous%2Cstring"
|
||||
title="unsubscribe(rdv: RendezVous; ns: string): Future[void]">unsubscribe(rdv: RendezVous; ns: string): Future[void]</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">unsubscribeLocally
|
||||
<li><a class="reference" href="#unsubscribeLocally%2CRendezVous%2Cstring"
|
||||
title="unsubscribeLocally(rdv: RendezVous; ns: string)">unsubscribeLocally(rdv: RendezVous; ns: string)</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a class="reference reference-toplevel" href="#14" id="64">Methods</a>
|
||||
<ul class="simple simple-toc-section">
|
||||
<ul class="simple nested-toc-section">start
|
||||
<li><a class="reference" href="#start.e%2CRendezVous"
|
||||
title="start(rdv: RendezVous): Future[void]">start(rdv: RendezVous): Future[void]</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">stop
|
||||
<li><a class="reference" href="#stop.e%2CRendezVous"
|
||||
title="stop(rdv: RendezVous): Future[void]">stop(rdv: RendezVous): Future[void]</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/protocols/rendezvous.nim#L1"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/rendezvous.nim#L1" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
<div class="nine columns" id="content">
|
||||
<div id="tocRoot"></div>
|
||||
|
||||
<p class="module-desc"></p>
|
||||
<div class="section" id="6">
|
||||
<h1><a class="toc-backref" href="#6">Imports</a></h1>
|
||||
<dl class="item">
|
||||
<a class="reference external" href="protocol.html">protocol</a>, <a class="reference external" href="../switch.html">../switch</a>, <a class="reference external" href="../routing_record.html">../routing_record</a>, <a class="reference external" href="../utils/heartbeat.html">../utils/heartbeat</a>, <a class="reference external" href="../stream/connection.html">../stream/connection</a>, <a class="reference external" href="../utils/offsettedseq.html">../utils/offsettedseq</a>, <a class="reference external" href="../utils/semaphore.html">../utils/semaphore</a>
|
||||
</dl></div>
|
||||
<div class="section" id="7">
|
||||
<h1><a class="toc-backref" href="#7">Types</a></h1>
|
||||
<dl class="item">
|
||||
<div id="RendezVous" class="tohide">
|
||||
<dt><pre><a href="rendezvous.html#RendezVous"><span class="Identifier">RendezVous</span></a> <span class="Other">=</span> <span class="Keyword">ref</span> <span class="Keyword">object</span> <span class="Keyword">of</span> <a href="protocol.html#LPProtocol"><span class="Identifier">LPProtocol</span></a>
|
||||
<span class="Identifier">registered</span><span class="Other">:</span> <a href="../utils/offsettedseq.html#OffsettedSeq"><span class="Identifier">OffsettedSeq</span></a><span class="Other">[</span><span class="Identifier">RegisteredData</span><span class="Other">]</span>
|
||||
<span class="Identifier">namespaces</span><span class="Other">:</span> <span class="Identifier">Table</span><span class="Other">[</span><span class="Identifier">string</span><span class="Other">,</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">int</span><span class="Other">]</span><span class="Other">]</span>
|
||||
<span class="Identifier">rng</span><span class="Other">:</span> <span class="Keyword">ref</span> <span class="Identifier">HmacDrbgContext</span>
|
||||
<span class="Identifier">salt</span><span class="Other">:</span> <span class="Identifier">string</span>
|
||||
<span class="Identifier">defaultDT</span><span class="Other">:</span> <span class="Identifier">Moment</span>
|
||||
<span class="Identifier">registerDeletionLoop</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">]</span>
|
||||
<span class="Identifier">sema</span><span class="Other">:</span> <a href="../utils/semaphore.html#AsyncSemaphore"><span class="Identifier">AsyncSemaphore</span></a>
|
||||
<span class="Identifier">peers</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="../peerid.html#PeerId"><span class="Identifier">PeerId</span></a><span class="Other">]</span>
|
||||
<span class="Identifier">cookiesSaved</span><span class="Other">:</span> <span class="Identifier">Table</span><span class="Other">[</span><a href="../peerid.html#PeerId"><span class="Identifier">PeerId</span></a><span class="Other">,</span> <span class="Identifier">Table</span><span class="Other">[</span><span class="Identifier">string</span><span class="Other">,</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">byte</span><span class="Other">]</span><span class="Other">]</span><span class="Other">]</span>
|
||||
<span class="Identifier">switch</span><span class="Other">:</span> <a href="../transports/transport.html#Switch"><span class="Identifier">Switch</span></a>
|
||||
</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/protocols/rendezvous.nim#L287"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/rendezvous.nim#L287" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="RendezVousError" class="tohide">
|
||||
<dt><pre><a href="rendezvous.html#RendezVousError"><span class="Identifier">RendezVousError</span></a> <span class="Other">=</span> <span class="Keyword">object</span> <span class="Keyword">of</span> <a href="../errors.html#LPError"><span class="Identifier">LPError</span></a></pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/protocols/rendezvous.nim#L281"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/rendezvous.nim#L281" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
||||
</dl></div>
|
||||
<div class="section" id="10">
|
||||
<h1><a class="toc-backref" href="#10">Consts</a></h1>
|
||||
<dl class="item">
|
||||
<div id="MinimumDuration" class="tohide">
|
||||
<dt><pre><a href="rendezvous.html#MinimumDuration"><span class="Identifier">MinimumDuration</span></a> <span class="Other">=</span> <span class="Other">(</span><span class="Identifier">value</span><span class="Other">:</span> <span class="DecNumber">7200000000000</span><span class="Other">)</span></pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/protocols/rendezvous.nim#L35"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/rendezvous.nim#L35" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="RendezVousCodec" class="tohide">
|
||||
<dt><pre><a href="rendezvous.html#RendezVousCodec"><span class="Identifier">RendezVousCodec</span></a> <span class="Other">=</span> <span class="StringLit">"/rendezvous/1.0.0"</span></pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/protocols/rendezvous.nim#L34"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/rendezvous.nim#L34" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
||||
</dl></div>
|
||||
<div class="section" id="12">
|
||||
<h1><a class="toc-backref" href="#12">Procs</a></h1>
|
||||
<dl class="item">
|
||||
<div id="advertise,RendezVous,string,Duration" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#advertise%2CRendezVous%2Cstring%2CDuration"><span class="Identifier">advertise</span></a><span class="Other">(</span><span class="Identifier">rdv</span><span class="Other">:</span> <a href="rendezvous.html#RendezVous"><span class="Identifier">RendezVous</span></a><span class="Other">;</span> <span class="Identifier">ns</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">ttl</span><span class="Other">:</span> <span class="Identifier">Duration</span> <span class="Other">=</span> <span class="Identifier">MinimumDuration</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span>
|
||||
<span class="Identifier">void</span><span class="Other">]</span> {.<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
|
||||
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/protocols/rendezvous.nim#L475"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/rendezvous.nim#L475" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="new,typedesc[RendezVous],ref.HmacDrbgContext" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#new%2Ctypedesc%5BRendezVous%5D%2Cref.HmacDrbgContext"><span class="Identifier">new</span></a><span class="Other">(</span><span class="Identifier">T</span><span class="Other">:</span> <span class="Identifier">typedesc</span><span class="Other">[</span><a href="rendezvous.html#RendezVous"><span class="Identifier">RendezVous</span></a><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">rng</span><span class="Other">:</span> <span class="Keyword">ref</span> <span class="Identifier">HmacDrbgContext</span> <span class="Other">=</span> <span class="Identifier">newRng</span><span class="Other">(</span><span class="Other">)</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">T:type</span> {.
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/protocols/rendezvous.nim#L613"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/rendezvous.nim#L613" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="new,typedesc[RendezVous],Switch,ref.HmacDrbgContext" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#new%2Ctypedesc%5BRendezVous%5D%2CSwitch%2Cref.HmacDrbgContext"><span class="Identifier">new</span></a><span class="Other">(</span><span class="Identifier">T</span><span class="Other">:</span> <span class="Identifier">typedesc</span><span class="Other">[</span><a href="rendezvous.html#RendezVous"><span class="Identifier">RendezVous</span></a><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">switch</span><span class="Other">:</span> <a href="../transports/transport.html#Switch"><span class="Identifier">Switch</span></a><span class="Other">;</span>
|
||||
<span class="Identifier">rng</span><span class="Other">:</span> <span class="Keyword">ref</span> <span class="Identifier">HmacDrbgContext</span> <span class="Other">=</span> <span class="Identifier">newRng</span><span class="Other">(</span><span class="Other">)</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">T:type</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/protocols/rendezvous.nim#L648"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/rendezvous.nim#L648" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="request,RendezVous,string,int" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#request%2CRendezVous%2Cstring%2Cint"><span class="Identifier">request</span></a><span class="Other">(</span><span class="Identifier">rdv</span><span class="Other">:</span> <a href="rendezvous.html#RendezVous"><span class="Identifier">RendezVous</span></a><span class="Other">;</span> <span class="Identifier">ns</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">l</span><span class="Other">:</span> <span class="Identifier">int</span> <span class="Other">=</span> <span class="DecNumber">1000'u64</span><span class="Other">.</span><span class="Identifier">int</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span>
|
||||
<span class="Identifier">seq</span><span class="Other">[</span><a href="../routing_record.html#PeerRecord"><span class="Identifier">PeerRecord</span></a><span class="Other">]</span><span class="Other">]</span> {.<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
|
||||
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/protocols/rendezvous.nim#L507"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/rendezvous.nim#L507" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="requestLocally,RendezVous,string" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#requestLocally%2CRendezVous%2Cstring"><span class="Identifier">requestLocally</span></a><span class="Other">(</span><span class="Identifier">rdv</span><span class="Other">:</span> <a href="rendezvous.html#RendezVous"><span class="Identifier">RendezVous</span></a><span class="Other">;</span> <span class="Identifier">ns</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><a href="../routing_record.html#PeerRecord"><span class="Identifier">PeerRecord</span></a><span class="Other">]</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
|
||||
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/protocols/rendezvous.nim#L493"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/rendezvous.nim#L493" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="setup,RendezVous,Switch" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#setup%2CRendezVous%2CSwitch"><span class="Identifier">setup</span></a><span class="Other">(</span><span class="Identifier">rdv</span><span class="Other">:</span> <a href="rendezvous.html#RendezVous"><span class="Identifier">RendezVous</span></a><span class="Other">;</span> <span class="Identifier">switch</span><span class="Other">:</span> <a href="../transports/transport.html#Switch"><span class="Identifier">Switch</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/protocols/rendezvous.nim#L603"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/rendezvous.nim#L603" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="unsubscribe,RendezVous,string" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#unsubscribe%2CRendezVous%2Cstring"><span class="Identifier">unsubscribe</span></a><span class="Other">(</span><span class="Identifier">rdv</span><span class="Other">:</span> <a href="rendezvous.html#RendezVous"><span class="Identifier">RendezVous</span></a><span class="Other">;</span> <span class="Identifier">ns</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">]</span> {.<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span>
|
||||
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/protocols/rendezvous.nim#L583"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/rendezvous.nim#L583" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="unsubscribeLocally,RendezVous,string" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#unsubscribeLocally%2CRendezVous%2Cstring"><span class="Identifier">unsubscribeLocally</span></a><span class="Other">(</span><span class="Identifier">rdv</span><span class="Other">:</span> <a href="rendezvous.html#RendezVous"><span class="Identifier">RendezVous</span></a><span class="Other">;</span> <span class="Identifier">ns</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/protocols/rendezvous.nim#L574"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/rendezvous.nim#L574" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
||||
</dl></div>
|
||||
<div class="section" id="14">
|
||||
<h1><a class="toc-backref" href="#14">Methods</a></h1>
|
||||
<dl class="item">
|
||||
<div id="start.e,RendezVous" class="tohide">
|
||||
<dt><pre><span class="Keyword">method</span> <a href="#start.e%2CRendezVous"><span class="Identifier">start</span></a><span class="Other">(</span><span class="Identifier">rdv</span><span class="Other">:</span> <a href="rendezvous.html#RendezVous"><span class="Identifier">RendezVous</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">]</span> {.<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span>
|
||||
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/protocols/rendezvous.nim#L662"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/rendezvous.nim#L662" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="stop.e,RendezVous" class="tohide">
|
||||
<dt><pre><span class="Keyword">method</span> <a href="#stop.e%2CRendezVous"><span class="Identifier">stop</span></a><span class="Other">(</span><span class="Identifier">rdv</span><span class="Other">:</span> <a href="rendezvous.html#RendezVous"><span class="Identifier">RendezVous</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Future</span><span class="Other">[</span><span class="Identifier">void</span><span class="Other">]</span> {.<span class="Identifier">stackTrace</span><span class="Other">:</span> <span class="DecNumber">false</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">gcsafe</span><span class="Other">,</span>
|
||||
<span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/protocols/rendezvous.nim#L669"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/protocols/rendezvous.nim#L669" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
||||
</dl></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:16 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -560,7 +560,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:16 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -544,7 +544,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:17 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:15 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
File diff suppressed because one or more lines are too long
@ -503,7 +503,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:17 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:14 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
File diff suppressed because one or more lines are too long
@ -496,7 +496,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:15 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
File diff suppressed because one or more lines are too long
@ -1102,7 +1102,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:17 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:14 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -442,7 +442,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:17 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:15 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
File diff suppressed because one or more lines are too long
@ -266,7 +266,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:17 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:14 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -472,7 +472,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:15 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -542,7 +542,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:15 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -490,7 +490,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:17 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:15 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -560,7 +560,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:19 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:17 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -390,7 +390,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:17 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:15 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
File diff suppressed because one or more lines are too long
@ -287,7 +287,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:13 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:10 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -245,7 +245,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:16 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
522
add-socks5-support/libp2p/utils/offsettedseq.html
Normal file
522
add-socks5-support/libp2p/utils/offsettedseq.html
Normal file
@ -0,0 +1,522 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!-- This file is generated by Nim. -->
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<!-- Favicon -->
|
||||
<link rel="shortcut icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA=="/>
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4QQQEwksSS9ZWwAAAk1JREFUWMPtll2ITVEUx39nn/O7Y5qR8f05wtCUUr6ZIS++8pEnkZInPImneaCQ5METNdOkeFBKUhMPRIkHKfEuUZSUlGlKPN2TrgfncpvmnntnmlEyq1Z7t89/rf9a6+y99oZxGZf/XeIq61EdtgKXgdXA0xrYAvBjOIF1AI9zvjcC74BSpndrJPkBWDScTF8Aa4E3wDlgHbASaANmVqlcCnwHvgDvgVfAJ+AikAAvgfVZwLnSVZHZaOuKoQi3ZOMi4NkYkpe1p4J7A8BpYAD49hfIy/oqG0+hLomiKP2L5L+1ubn5115S+3OAn4EnwBlgMzCjyt6ZAnQCJ4A7wOs88iRJHvw50HoujuPBoCKwHWiosy8MdfZnAdcHk8dxXFJ3VQbQlCTJvRBCGdRbD4M6uc5glpY3eAihpN5S5w12diSEcCCEcKUO4ljdr15T76ur1FDDLIQQ3qv71EdDOe3Kxj3leRXyk+pxdWnFWod6Wt2bY3de3aSuUHcPBVimHs7mK9WrmeOF6lR1o9qnzskh2ar2qm1qizpfXaPeVGdlmGN5pb09qMxz1Xb1kLqgzn1RyH7JUXW52lr5e/Kqi9qpto7V1atuUzfnARrV7jEib1T76gG2qxdGmXyiekkt1GswPTtek0aBfJp6YySGBfWg2tPQ0FAYgf1stUfdmdcjarbYJEniKIq6gY/Aw+zWHAC+p2labGpqiorFYgGYCEzN7oQdQClN07O1/EfDyGgC0ALMBdYAi4FyK+4H3gLPsxfR1zRNi+NP7nH5J+QntnXe5B5mpfQAAAAASUVORK5CYII=">
|
||||
|
||||
<!-- Google fonts -->
|
||||
<link href='https://fonts.googleapis.com/css?family=Lato:400,600,900' rel='stylesheet' type='text/css'/>
|
||||
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro:400,500,600' rel='stylesheet' type='text/css'/>
|
||||
|
||||
<!-- CSS -->
|
||||
<title>libp2p/utils/offsettedseq</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../nimdoc.out.css">
|
||||
|
||||
<script type="text/javascript" src="../../dochack.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
function main() {
|
||||
var pragmaDots = document.getElementsByClassName("pragmadots");
|
||||
for (var i = 0; i < pragmaDots.length; i++) {
|
||||
pragmaDots[i].onclick = function(event) {
|
||||
// Hide tease
|
||||
event.target.parentNode.style.display = "none";
|
||||
// Show actual
|
||||
event.target.parentNode.nextElementSibling.style.display = "inline";
|
||||
}
|
||||
}
|
||||
|
||||
function switchTheme(e) {
|
||||
if (e.target.checked) {
|
||||
document.documentElement.setAttribute('data-theme', 'dark');
|
||||
localStorage.setItem('theme', 'dark');
|
||||
} else {
|
||||
document.documentElement.setAttribute('data-theme', 'light');
|
||||
localStorage.setItem('theme', 'light');
|
||||
}
|
||||
}
|
||||
|
||||
const toggleSwitch = document.querySelector('.theme-switch input[type="checkbox"]');
|
||||
if (toggleSwitch !== null) {
|
||||
toggleSwitch.addEventListener('change', switchTheme, false);
|
||||
}
|
||||
|
||||
var currentTheme = localStorage.getItem('theme');
|
||||
if (!currentTheme && window.matchMedia('(prefers-color-scheme: dark)').matches) {
|
||||
currentTheme = 'dark';
|
||||
}
|
||||
if (currentTheme) {
|
||||
document.documentElement.setAttribute('data-theme', currentTheme);
|
||||
|
||||
if (currentTheme === 'dark' && toggleSwitch !== null) {
|
||||
toggleSwitch.checked = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
window.addEventListener('DOMContentLoaded', main);
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="document" id="documentId">
|
||||
<div class="container">
|
||||
<h1 class="title">libp2p/utils/offsettedseq</h1>
|
||||
<div class="row">
|
||||
<div class="three columns">
|
||||
<div class="theme-switch-wrapper">
|
||||
<label class="theme-switch" for="checkbox">
|
||||
<input type="checkbox" id="checkbox" />
|
||||
<div class="slider round"></div>
|
||||
</label>
|
||||
<em>Dark Mode</em>
|
||||
</div>
|
||||
<div id="global-links">
|
||||
<ul class="simple">
|
||||
<li>
|
||||
<a href="../../theindex.html">Index</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="searchInputDiv">
|
||||
Search: <input type="text" id="searchInput"
|
||||
onkeyup="search()" />
|
||||
</div>
|
||||
<div>
|
||||
Group by:
|
||||
<select onchange="groupBy(this.value)">
|
||||
<option value="section">Section</option>
|
||||
<option value="type">Type</option>
|
||||
</select>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
function main2() {
|
||||
// Create the slider
|
||||
var firstSlider = document.getElementsByClassName("theme-switch-wrapper")[0];
|
||||
var newSlider = document.createRange().createContextualFragment(`
|
||||
<div class="theme-switch-wrapper">
|
||||
<label class="theme-switch" for="internalcheckbox">
|
||||
<input type="checkbox" id="internalcheckbox">
|
||||
<div class="slider round"></div>
|
||||
</label>
|
||||
<em>Internal</em>
|
||||
</div>
|
||||
`);
|
||||
|
||||
var sliderInst = firstSlider.after(newSlider);
|
||||
|
||||
// Restore slider state from storage
|
||||
var currentMode = localStorage.getItem('privateMode');
|
||||
if (currentMode == "private") {
|
||||
document.getElementById("internalcheckbox").checked = true;
|
||||
} else {
|
||||
hidePrivateProcs();
|
||||
}
|
||||
|
||||
document.getElementById("internalcheckbox").onclick = togglePrivateProcs;
|
||||
}
|
||||
|
||||
function hidePrivateProcs() {
|
||||
var toHide = document.getElementsByClassName("tohide");
|
||||
for (var i = 0; i < toHide.length; i++) {
|
||||
var pragmas = toHide[i].querySelectorAll("span.Identifier");
|
||||
var public = false;
|
||||
for (var z = 0; z < pragmas.length; z++) {
|
||||
if (pragmas[z].innerText == "public") {
|
||||
public = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (public == false) {
|
||||
toHide[i].style.display = "none";
|
||||
toHide[i].classList.add("hidden");
|
||||
links = document.querySelectorAll("a[href='#" + encodeURIComponent(toHide[i].id) + "']");
|
||||
for (var y = 0; y < links.length; y++) {
|
||||
links[y].parentNode.style.display = "none";
|
||||
links[y].parentNode.classList.add("hidden");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// TOC
|
||||
var nestedSections = document.getElementsByClassName("nested-toc-section");
|
||||
for (var i = 0; i < nestedSections.length; i++) {
|
||||
if (nestedSections[i].querySelectorAll("li:not(.hidden)").length == 0) {
|
||||
nestedSections[i].style.display = "none";
|
||||
nestedSections[i].classList.add("hidden");
|
||||
}
|
||||
}
|
||||
|
||||
var sections = document.getElementsByClassName("simple-toc-section");
|
||||
for (var i = 0; i < sections.length; i++) {
|
||||
if (sections[i].querySelectorAll(".nested-toc-section:not(.hidden)").length == 0) {
|
||||
sections[i].parentNode.style.display = "none";
|
||||
sections[i].parentNode.classList.add("hidden");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Sections
|
||||
var sections = document.getElementsByClassName("section");
|
||||
for (var i = 0; i < sections.length; i++) {
|
||||
if (sections[i].querySelectorAll(".item > div").length == 0) continue;
|
||||
if (sections[i].querySelectorAll(".item > div:not(.hidden)").length == 0) {
|
||||
sections[i].style.display = "none";
|
||||
sections[i].classList.add("hidden");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
function showPrivateProcs() {
|
||||
var toHide = Array.from(document.getElementsByClassName("hidden"));
|
||||
for (var i = 0; i < toHide.length; i++) {
|
||||
toHide[i].style.display = "";
|
||||
toHide[i].classList.remove("hidden");
|
||||
}
|
||||
}
|
||||
|
||||
function togglePrivateProcs() {
|
||||
if (document.getElementById("internalcheckbox").checked) {
|
||||
localStorage.setItem('privateMode', 'private');
|
||||
showPrivateProcs();
|
||||
} else {
|
||||
localStorage.setItem('privateMode', 'public');
|
||||
hidePrivateProcs();
|
||||
}
|
||||
}
|
||||
window.addEventListener("DOMContentLoaded", main2);
|
||||
</script>
|
||||
<ul class="simple simple-toc" id="toc-list">
|
||||
<li>
|
||||
<a class="reference reference-toplevel" href="#7" id="57">Types</a>
|
||||
<ul class="simple simple-toc-section">
|
||||
<li><a class="reference" href="#OffsettedSeq"
|
||||
title="OffsettedSeq[T] = object
|
||||
s*: seq[T]
|
||||
offset*: int">OffsettedSeq</a></li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a class="reference reference-toplevel" href="#12" id="62">Procs</a>
|
||||
<ul class="simple simple-toc-section">
|
||||
<ul class="simple nested-toc-section">[]
|
||||
<li><a class="reference" href="#%5B%5D%2COffsettedSeq%5BT%5D%2Cint"
|
||||
title="`[]`[T](o: var OffsettedSeq[T]; index: int): var T">`[]`[T](o: var OffsettedSeq[T]; index: int): var T</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">add
|
||||
<li><a class="reference" href="#add%2COffsettedSeq%5BT%5D%2CT"
|
||||
title="add[T](o: var OffsettedSeq[T]; v: T)">add[T](o: var OffsettedSeq[T]; v: T)</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">all
|
||||
<li><a class="reference" href="#all%2COffsettedSeq%5BT%5D%2Cproc%28T%29"
|
||||
title="all[T](o: OffsettedSeq[T]; pred: proc (x: T): bool): bool">all[T](o: OffsettedSeq[T]; pred: proc (x: T): bool): bool</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">any
|
||||
<li><a class="reference" href="#any%2COffsettedSeq%5BT%5D%2Cproc%28T%29"
|
||||
title="any[T](o: OffsettedSeq[T]; pred: proc (x: T): bool): bool">any[T](o: OffsettedSeq[T]; pred: proc (x: T): bool): bool</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">apply
|
||||
<li><a class="reference" href="#apply%2COffsettedSeq%5BT%5D%2Cproc%28T%29"
|
||||
title="apply[T](o: OffsettedSeq[T]; op: proc (x: T))">apply[T](o: OffsettedSeq[T]; op: proc (x: T))</a></li>
|
||||
<li><a class="reference" href="#apply%2COffsettedSeq%5BT%5D%2Cproc%28T%29_2"
|
||||
title="apply[T](o: OffsettedSeq[T]; op: proc (x: T): T)">apply[T](o: OffsettedSeq[T]; op: proc (x: T): T)</a></li>
|
||||
<li><a class="reference" href="#apply%2COffsettedSeq%5BT%5D%2Cproc%28T%29_3"
|
||||
title="apply[T](o: OffsettedSeq[T]; op: proc (x: var T))">apply[T](o: OffsettedSeq[T]; op: proc (x: var T))</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">count
|
||||
<li><a class="reference" href="#count%2COffsettedSeq%5BT%5D%2CT"
|
||||
title="count[T](o: OffsettedSeq[T]; x: T): int">count[T](o: OffsettedSeq[T]; x: T): int</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">flushIf
|
||||
<li><a class="reference" href="#flushIf%2COffsettedSeq%5BT%5D%2Cproc%28T%29"
|
||||
title="flushIf[T](o: OffsettedSeq[T]; pred: proc (x: T): bool)">flushIf[T](o: OffsettedSeq[T]; pred: proc (x: T): bool)</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">high
|
||||
<li><a class="reference" href="#high%2COffsettedSeq%5BT%5D"
|
||||
title="high[T](o: OffsettedSeq[T]): int">high[T](o: OffsettedSeq[T]): int</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">initOffsettedSeq
|
||||
<li><a class="reference" href="#initOffsettedSeq%2Cint"
|
||||
title="initOffsettedSeq[T](offset: int = 0): OffsettedSeq[T]">initOffsettedSeq[T](offset: int = 0): OffsettedSeq[T]</a></li>
|
||||
|
||||
</ul>
|
||||
<ul class="simple nested-toc-section">low
|
||||
<li><a class="reference" href="#low%2COffsettedSeq%5BT%5D"
|
||||
title="low[T](o: OffsettedSeq[T]): int">low[T](o: OffsettedSeq[T]): int</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a class="reference reference-toplevel" href="#15" id="65">Iterators</a>
|
||||
<ul class="simple simple-toc-section">
|
||||
<ul class="simple nested-toc-section">items
|
||||
<li><a class="reference" href="#items.i%2COffsettedSeq%5BT%5D"
|
||||
title="items[T](o: OffsettedSeq[T]): T">items[T](o: OffsettedSeq[T]): T</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a class="reference reference-toplevel" href="#18" id="68">Templates</a>
|
||||
<ul class="simple simple-toc-section">
|
||||
<ul class="simple nested-toc-section">flushIfIt
|
||||
<li><a class="reference" href="#flushIfIt.t%2Cuntyped%2Cuntyped"
|
||||
title="flushIfIt(o, pred: untyped)">flushIfIt(o, pred: untyped)</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/utils/offsettedseq.nim#L1"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/utils/offsettedseq.nim#L1" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
<div class="nine columns" id="content">
|
||||
<div id="tocRoot"></div>
|
||||
|
||||
<p class="module-desc"></p>
|
||||
<div class="section" id="7">
|
||||
<h1><a class="toc-backref" href="#7">Types</a></h1>
|
||||
<dl class="item">
|
||||
<div id="OffsettedSeq" class="tohide">
|
||||
<dt><pre><a href="offsettedseq.html#OffsettedSeq"><span class="Identifier">OffsettedSeq</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span> <span class="Other">=</span> <span class="Keyword">object</span>
|
||||
<span class="Identifier">s</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span>
|
||||
<span class="Identifier">offset</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int</span>
|
||||
</pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/utils/offsettedseq.nim#L13"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/utils/offsettedseq.nim#L13" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
||||
</dl></div>
|
||||
<div class="section" id="12">
|
||||
<h1><a class="toc-backref" href="#12">Procs</a></h1>
|
||||
<dl class="item">
|
||||
<div id="[],OffsettedSeq[T],int" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#%5B%5D%2COffsettedSeq%5BT%5D%2Cint"><span class="Identifier">`[]`</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">o</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="offsettedseq.html#OffsettedSeq"><span class="Identifier">OffsettedSeq</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">index</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">T</span></pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/utils/offsettedseq.nim#L62"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/utils/offsettedseq.nim#L62" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="add,OffsettedSeq[T],T" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#add%2COffsettedSeq%5BT%5D%2CT"><span class="Identifier">add</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">o</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="offsettedseq.html#OffsettedSeq"><span class="Identifier">OffsettedSeq</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">v</span><span class="Other">:</span> <span class="Identifier">T</span><span class="Other">)</span></pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/utils/offsettedseq.nim#L59"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/utils/offsettedseq.nim#L59" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="all,OffsettedSeq[T],proc(T)" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#all%2COffsettedSeq%5BT%5D%2Cproc%28T%29"><span class="Identifier">all</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">o</span><span class="Other">:</span> <a href="offsettedseq.html#OffsettedSeq"><span class="Identifier">OffsettedSeq</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">pred</span><span class="Other">:</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">x</span><span class="Other">:</span> <span class="Identifier">T</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span></pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/utils/offsettedseq.nim#L20"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/utils/offsettedseq.nim#L20" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="any,OffsettedSeq[T],proc(T)" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#any%2COffsettedSeq%5BT%5D%2Cproc%28T%29"><span class="Identifier">any</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">o</span><span class="Other">:</span> <a href="offsettedseq.html#OffsettedSeq"><span class="Identifier">OffsettedSeq</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">pred</span><span class="Other">:</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">x</span><span class="Other">:</span> <span class="Identifier">T</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span></pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/utils/offsettedseq.nim#L23"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/utils/offsettedseq.nim#L23" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="apply,OffsettedSeq[T],proc(T)" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#apply%2COffsettedSeq%5BT%5D%2Cproc%28T%29"><span class="Identifier">apply</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">o</span><span class="Other">:</span> <a href="offsettedseq.html#OffsettedSeq"><span class="Identifier">OffsettedSeq</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">op</span><span class="Other">:</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">x</span><span class="Other">:</span> <span class="Identifier">T</span><span class="Other">)</span><span class="Other">)</span></pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/utils/offsettedseq.nim#L26"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/utils/offsettedseq.nim#L26" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="apply,OffsettedSeq[T],proc(T)_2" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#apply%2COffsettedSeq%5BT%5D%2Cproc%28T%29_2"><span class="Identifier">apply</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">o</span><span class="Other">:</span> <a href="offsettedseq.html#OffsettedSeq"><span class="Identifier">OffsettedSeq</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">op</span><span class="Other">:</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">x</span><span class="Other">:</span> <span class="Identifier">T</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">T</span><span class="Other">)</span></pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/utils/offsettedseq.nim#L29"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/utils/offsettedseq.nim#L29" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="apply,OffsettedSeq[T],proc(T)_3" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#apply%2COffsettedSeq%5BT%5D%2Cproc%28T%29_3"><span class="Identifier">apply</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">o</span><span class="Other">:</span> <a href="offsettedseq.html#OffsettedSeq"><span class="Identifier">OffsettedSeq</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">op</span><span class="Other">:</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">x</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">T</span><span class="Other">)</span><span class="Other">)</span></pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/utils/offsettedseq.nim#L32"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/utils/offsettedseq.nim#L32" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="count,OffsettedSeq[T],T" class="tohide">
|
||||
<dt><pre><span class="Keyword">func</span> <a href="#count%2COffsettedSeq%5BT%5D%2CT"><span class="Identifier">count</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">o</span><span class="Other">:</span> <a href="offsettedseq.html#OffsettedSeq"><span class="Identifier">OffsettedSeq</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">x</span><span class="Other">:</span> <span class="Identifier">T</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int</span></pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/utils/offsettedseq.nim#L35"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/utils/offsettedseq.nim#L35" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="flushIf,OffsettedSeq[T],proc(T)" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#flushIf%2COffsettedSeq%5BT%5D%2Cproc%28T%29"><span class="Identifier">flushIf</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">o</span><span class="Other">:</span> <a href="offsettedseq.html#OffsettedSeq"><span class="Identifier">OffsettedSeq</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">pred</span><span class="Other">:</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">x</span><span class="Other">:</span> <span class="Identifier">T</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">)</span></pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/utils/offsettedseq.nim#L38"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/utils/offsettedseq.nim#L38" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="high,OffsettedSeq[T]" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#high%2COffsettedSeq%5BT%5D"><span class="Identifier">high</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">o</span><span class="Other">:</span> <a href="offsettedseq.html#OffsettedSeq"><span class="Identifier">OffsettedSeq</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int</span></pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/utils/offsettedseq.nim#L69"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/utils/offsettedseq.nim#L69" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="initOffsettedSeq,int" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#initOffsettedSeq%2Cint"><span class="Identifier">initOffsettedSeq</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">offset</span><span class="Other">:</span> <span class="Identifier">int</span> <span class="Other">=</span> <span class="DecNumber">0</span><span class="Other">)</span><span class="Other">:</span> <a href="offsettedseq.html#OffsettedSeq"><span class="Identifier">OffsettedSeq</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span></pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/utils/offsettedseq.nim#L17"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/utils/offsettedseq.nim#L17" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
<div id="low,OffsettedSeq[T]" class="tohide">
|
||||
<dt><pre><span class="Keyword">proc</span> <a href="#low%2COffsettedSeq%5BT%5D"><span class="Identifier">low</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">o</span><span class="Other">:</span> <a href="offsettedseq.html#OffsettedSeq"><span class="Identifier">OffsettedSeq</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int</span></pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/utils/offsettedseq.nim#L72"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/utils/offsettedseq.nim#L72" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
||||
</dl></div>
|
||||
<div class="section" id="15">
|
||||
<h1><a class="toc-backref" href="#15">Iterators</a></h1>
|
||||
<dl class="item">
|
||||
<div id="items.i,OffsettedSeq[T]" class="tohide">
|
||||
<dt><pre><span class="Keyword">iterator</span> <a href="#items.i%2COffsettedSeq%5BT%5D"><span class="Identifier">items</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">o</span><span class="Other">:</span> <a href="offsettedseq.html#OffsettedSeq"><span class="Identifier">OffsettedSeq</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">T</span></pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/utils/offsettedseq.nim#L65"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/utils/offsettedseq.nim#L65" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
||||
</dl></div>
|
||||
<div class="section" id="18">
|
||||
<h1><a class="toc-backref" href="#18">Templates</a></h1>
|
||||
<dl class="item">
|
||||
<div id="flushIfIt.t,untyped,untyped" class="tohide">
|
||||
<dt><pre><span class="Keyword">template</span> <a href="#flushIfIt.t%2Cuntyped%2Cuntyped"><span class="Identifier">flushIfIt</span></a><span class="Other">(</span><span class="Identifier">o</span><span class="Other">,</span> <span class="Identifier">pred</span><span class="Other">:</span> <span class="Identifier">untyped</span><span class="Other">)</span></pre></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/utils/offsettedseq.nim#L47"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/utils/offsettedseq.nim#L47" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
|
||||
</dl></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:16 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -362,7 +362,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:17 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:15 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -725,7 +725,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:13 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:10 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -365,9 +365,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Return hexadecimal string representation of buffer <tt class="docutils literal"><span class="pre">vb</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L197"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L185"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L197" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L185" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -377,9 +377,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Finishes <tt class="docutils literal"><span class="pre">vb</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L115"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L103"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L115" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L103" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -401,9 +401,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Initialize empty VBuffer.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L66"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L54"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L66" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L54" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -414,9 +414,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Initialize VBuffer with copy of <tt class="docutils literal"><span class="pre">data</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L59"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L47"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L59" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L47" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -426,9 +426,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Initialize VBuffer with shallow copy of <tt class="docutils literal"><span class="pre">data</span></tt>.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L51"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L42"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L51" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L42" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -454,9 +454,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<p>Returns number of bytes peeked from <tt class="docutils literal"><span class="pre">vb</span></tt> or <tt class="docutils literal"><span class="pre">-1</span></tt> on error.</p>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L156"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L144"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L156" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L144" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -470,9 +470,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<p>Returns number of bytes peeked from <tt class="docutils literal"><span class="pre">vb</span></tt> or <tt class="docutils literal"><span class="pre">-1</span></tt> on error.</p>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L134"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L122"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L134" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L122" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -485,9 +485,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<p>Returns number of bytes peeked from <tt class="docutils literal"><span class="pre">vb</span></tt> or <tt class="docutils literal"><span class="pre">-1</span></tt> on error.</p>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L119"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L107"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L119" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L107" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -500,9 +500,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<p>Returns number of bytes consumed from <tt class="docutils literal"><span class="pre">vb</span></tt> or <tt class="docutils literal"><span class="pre">-1</span></tt> on error.</p>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L188"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L176"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L188" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L176" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -515,9 +515,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<p>Returns number of bytes consumed from <tt class="docutils literal"><span class="pre">vb</span></tt> or <tt class="docutils literal"><span class="pre">-1</span></tt> on error.</p>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L178"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L166"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L178" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L166" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -530,9 +530,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<p>Returns number of bytes consumed from <tt class="docutils literal"><span class="pre">vb</span></tt> or <tt class="docutils literal"><span class="pre">-1</span></tt> on error.</p>
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L170"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L158"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L170" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L158" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -543,9 +543,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Write array <tt class="docutils literal"><span class="pre">value</span></tt> to buffer <tt class="docutils literal"><span class="pre">vb</span></tt>, value will NOT be prefixed with varint length of the array.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L107"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L95"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L107" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L95" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -555,9 +555,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Write <tt class="docutils literal"><span class="pre">value</span></tt> as variable unsigned integer.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L80"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L68"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L80" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L68" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -567,9 +567,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Write <tt class="docutils literal"><span class="pre">value</span></tt> as variable unsigned integer.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L70"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L58"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L70" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L58" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -579,9 +579,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
Write array <tt class="docutils literal"><span class="pre">value</span></tt> to buffer <tt class="docutils literal"><span class="pre">vb</span></tt>, value will be prefixed with varint length of the array.
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L94"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L82"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L94" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L82" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -591,9 +591,9 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
|
||||
|
||||
<a
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L91"
|
||||
href="https://github.com/status-im/nim-libp2p/tree/add-socks5-support/libp2p/vbuffer.nim#L79"
|
||||
class="link-seesrc" target="_blank">Source</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L91" class="link-seesrc" target="_blank" >Edit</a>
|
||||
<a href="https://github.com/status-im/nim-libp2p/edit/devel/libp2p/vbuffer.nim#L79" class="link-seesrc" target="_blank" >Edit</a>
|
||||
|
||||
</dd>
|
||||
</div>
|
||||
@ -636,7 +636,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:15 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:12 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -571,7 +571,7 @@ class="link-seesrc" target="_blank">Source</a>
|
||||
<div class="twelve-columns footer">
|
||||
<span class="nim-sprite"></span>
|
||||
<br/>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-26 14:59:18 UTC</small>
|
||||
<small style="color: var(--hint);">Made with Nim. Generated: 2022-10-28 09:26:15 UTC</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user