mirror of
https://github.com/go-i2p/go-i2ptunnel.git
synced 2025-07-13 16:53:24 -04:00
351 B
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