mirror of
https://github.com/go-i2p/goSam.git
synced 2025-07-12 21:59:28 -04:00
move samsocks into this repository and treat it as an example application, since it's so simple
This commit is contained in:
@ -5,7 +5,8 @@ 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
|
||||
has support for all streaming features SAM version 3.2.
|
||||
|
||||
This is widely used and easy to use, but thusfar, mostly by me.
|
||||
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.
|
||||
|
||||
## Installation
|
||||
```
|
||||
@ -71,6 +72,10 @@ func checkErr(err error) {
|
||||
|
||||
## Using it as a SOCKS proxy
|
||||
|
||||
`client` also implements a resolver compatible with
|
||||
[`getlantern/go-socks5`](https://github.com/getlantern/go-socks5),
|
||||
making it very easy to implement a SOCKS5 server.
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
|
Reference in New Issue
Block a user