mirror of
https://github.com/go-i2p/go-i2ptunnel.git
synced 2025-07-12 23:48:37 -04:00
add main function for webui
This commit is contained in:
2
cmd/web/doc.md
Normal file
2
cmd/web/doc.md
Normal file
@ -0,0 +1,2 @@
|
||||
# web
|
||||
--
|
18
lib/loader/doc.md
Normal file
18
lib/loader/doc.md
Normal file
@ -0,0 +1,18 @@
|
||||
# loader
|
||||
--
|
||||
import "github.com/go-i2p/go-i2ptunnel/lib/loader"
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```go
|
||||
var DEFAULT_SAM_ADDRESS = "localhost:7656"
|
||||
```
|
||||
|
||||
#### func Load
|
||||
|
||||
```go
|
||||
func Load(path string, samAddr ...string) (i2ptunnel.I2PTunnel, error)
|
||||
```
|
||||
using go-i2ptunnel-config's Converter, load the config file and return an
|
||||
I2PTunnel matching the configured tunnel type
|
Reference in New Issue
Block a user