Documentation ¶
Index ¶
- Constants
- func CreateEepServiceKey() (i2pkeys.I2PKeys, error)
- func EepServiceMultiAddr() (*ma.Multiaddr, error)
- func IsValidGarlicMultiAddr(a ma.Multiaddr) bool
- func LoadKeys(keysPath string) (i2pkeys.I2PKeys, error)
- func Path(filename, extension string) (string, error)
- func PathRoot() (string, error)
- func RandTunName() string
Constants ¶
View Source
const ( // DefaultPathName is the default config dir name KeysPathName = ".ipfs" // DefaultPathRoot is the path to the default config dir location. KeysPathRoot = "~/" + KeysPathName // EnvDir is the environment variable used to change the path root. EnvDir = "KEYS_PATH" )
Variables ¶
This section is empty.
Functions ¶
func CreateEepServiceKey ¶
func EepServiceMultiAddr ¶
func IsValidGarlicMultiAddr ¶
IsValidGarlicMultiAddr is used to validate that a multiaddr is representing a I2P garlic service
func RandTunName ¶
func RandTunName() string
RandTunName generates a random tunnel names to avoid collisions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.