update index.html

This commit is contained in:
idk
2022-08-28 13:37:45 -04:00
parent d2ace7d0b9
commit 25363e06ac
3 changed files with 50 additions and 14 deletions

View File

@ -5,8 +5,9 @@ A go library for using the [I2P](https://geti2p.net/en/) Simple Anonymous
Messaging ([SAM version 3.0](https://geti2p.net/en/docs/api/samv3)) bridge. It Messaging ([SAM version 3.0](https://geti2p.net/en/docs/api/samv3)) bridge. It
has support for all streaming features SAM version 3.2. has support for all streaming features SAM version 3.2.
This is widely used and easy to use, but thusfar, mostly by me. It sees a lot of STATUS: This project is maintained. I will respond to issues, pull requests, and feature requests within a few days. I am primarily maintaining functionality. This is widely used and easy to use, but thusfar, mostly by me. It sees a lot of testing and no breaking changes to the API are expected.
testing and no breaking changes to the API are expected.
## Installation ## Installation
``` ```

View File

@ -7,6 +7,7 @@
<meta name="description" content="goSam" /> <meta name="description" content="goSam" />
<meta name="keywords" content="master" /> <meta name="keywords" content="master" />
<link rel="stylesheet" type="text/css" href="style.css" /> <link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="showhider.css" />
</head> </head>
<body> <body>
<div id="navbar"> <div id="navbar">
@ -35,9 +36,10 @@
</div> </div>
</div> </div>
<h1> <h1>
<a href="/"> <a href="#gosam" rel="nofollow">
goSam <span></span>
</a> </a>
goSam
</h1> </h1>
<p> <p>
A go library for using the A go library for using the
@ -53,15 +55,20 @@
has support for all streaming features SAM version 3.2. has support for all streaming features SAM version 3.2.
</p> </p>
<p> <p>
This is widely used and easy to use, but thusfar, mostly by me. It sees a lot of STATUS: This project is maintained. I will respond to issues, pull requests, and feature requests within a few days. I am primarily maintaining functionality. This is widely used and easy to use, but thusfar, mostly by me. It sees a lot of testing and no breaking changes to the API are expected.
testing and no breaking changes to the API are expected.
</p> </p>
<h2> <h2>
<a href="#installation" rel="nofollow">
<span></span>
</a>
Installation Installation
</h2> </h2>
<pre><code>go get github.com/eyedeekay/goSam <pre><code>go get github.com/eyedeekay/goSam
</code></pre> </code></pre>
<h2> <h2>
<a href="#using-it-for-http-transport" rel="nofollow">
<span></span>
</a>
Using it for HTTP Transport Using it for HTTP Transport
</h2> </h2>
<p> <p>
@ -72,9 +79,10 @@
<code> <code>
net.Dial net.Dial
</code> </code>
so you can use gos library packages like http. so you can use go&#39;s library packages like http.
</p> </p>
<pre><code>package main <div>
<pre>package main
import ( import (
&#34;io&#34; &#34;io&#34;
@ -125,14 +133,19 @@ func checkErr(err error) {
} }
} }
</code></pre> </pre>
</div>
<h3> <h3>
<a href="#using-sam-by-default-as-a-proxy-for-all-http-clients-used-by-a-go-application" rel="nofollow">
<span></span>
</a>
Using SAM by default, as a proxy for all HTTP Clients used by a Go application Using SAM by default, as a proxy for all HTTP Clients used by a Go application
</h3> </h3>
<p> <p>
This will make the SAM transport dialer the default for all HTTP clients. This will make the SAM transport dialer the default for all HTTP clients.
</p> </p>
<pre><code>package main <div>
<pre>package main
import ( import (
&#34;io&#34; &#34;io&#34;
@ -165,8 +178,12 @@ func checkErr(err error) {
log.Fatal(err) log.Fatal(err)
} }
} }
</code></pre> </pre>
</div>
<h2> <h2>
<a href="#using-it-as-a-socks-proxy" rel="nofollow">
<span></span>
</a>
Using it as a SOCKS proxy Using it as a SOCKS proxy
</h2> </h2>
<p> <p>
@ -182,7 +199,8 @@ func checkErr(err error) {
, ,
making it very easy to implement a SOCKS5 server. making it very easy to implement a SOCKS5 server.
</p> </p>
<pre><code>package main <div>
<pre>package main
import ( import (
&#34;flag&#34; &#34;flag&#34;
@ -219,8 +237,12 @@ func main() {
panic(err) panic(err)
} }
} }
</code></pre> </pre>
</div>
<h3> <h3>
<a href="#deb-package" rel="nofollow">
<span></span>
</a>
.deb package .deb package
</h3> </h3>
<p> <p>
@ -237,10 +259,13 @@ func main() {
<pre><code> debuild -S <pre><code> debuild -S
</code></pre> </code></pre>
<p> <p>
will produce a viable source package for use with Launchpad PPAs and other will produce a viable source package for use with Launchpad PPA&#39;s and other
similar systems. similar systems.
</p> </p>
<h3> <h3>
<a href="#todo" rel="nofollow">
<span></span>
</a>
TODO TODO
</h3> </h3>
<ul> <ul>

10
showhider.css Normal file
View File

@ -0,0 +1,10 @@
/* edgar showhider CSS file */
#show {display:none; }
#hide {display:block; }
#show:target {display: block; }
#hide:target {display: none; }
#shownav {display:none; }
#hidenav {display:block; }
#shownav:target {display: block; }
#hidenav:target {display: none; }