summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGab <24553253+gabrix73@users.noreply.github.com>2025-02-13 17:49:56 +0100
committerGitHub <noreply@github.com>2025-02-13 17:49:56 +0100
commite3d73bddf7dcd67aedaf1a206190366bac697992 (patch)
tree4d770d4cab79d9601a250737e70ad35b0873cd54
parent02bee5d15a40768769a50c56eb6803ab47ae1f22 (diff)
downloadnofuture-go-memguard-e3d73bddf7dcd67aedaf1a206190366bac697992.tar.gz
nofuture-go-memguard-e3d73bddf7dcd67aedaf1a206190366bac697992.tar.xz
nofuture-go-memguard-e3d73bddf7dcd67aedaf1a206190366bac697992.zip
Update README.md
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index b6b9489..3225f89 100644
--- a/README.md
+++ b/README.md
@@ -2,11 +2,11 @@
<strong>MemGuard Initialization & Configuration:</strong><br>
- <pre><code>
+<pre>
memguard.CatchInterrupt()
memguard.Purge()
unix.Mlockall(unix.MCL_CURRENT | unix.MCL_FUTURE)
-</code></pre>
+</pre>
<ul>
<li><strong>Secure Memory Locking:</strong> Prevents swapping sensitive data to disk</li>
<li><strong>Interrupt Handling:</strong> Automatic memory purge on SIGINT/SIGTERM</li>