diff --git a/cmd/web/doc.md b/cmd/web/doc.md new file mode 100644 index 0000000..d7018bf --- /dev/null +++ b/cmd/web/doc.md @@ -0,0 +1,2 @@ +# web +-- diff --git a/lib/loader/doc.md b/lib/loader/doc.md new file mode 100644 index 0000000..68c8900 --- /dev/null +++ b/lib/loader/doc.md @@ -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