Files
go-i2ptunnel/lib/loader/doc.md
2025-02-10 00:37:24 -05:00

351 B

loader

-- import "github.com/go-i2p/go-i2ptunnel/lib/loader"

Usage

var DEFAULT_SAM_ADDRESS = "localhost:7656"

func Load

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