Skip to content

installers.net.mycelium #

see https://github.com/threefoldtech/mycelium/tree/master/docs


mycelium --peers tcp://188.40.132.242:9651 quic://185.69.166.7:9651 tcp://65.21.231.58:9651 --tun-name utun9

fn build #

fn build() !

install mycelium will return true if it was already installed

fn check #

fn check() bool

fn inspect #

fn inspect() !MyceliumInspectResult

fn install #

fn install(args_ InstallArgs) !

install mycelium will return true if it was already installed

fn ipaddr #

fn ipaddr() string

if returns empty then probably mycelium is not installed

fn restart #

fn restart() !

fn start #

fn start(args InstallArgs) !

fn stop #

fn stop() !

struct InstallArgs #

@[params]
struct InstallArgs {
pub mut:
	reset   bool
	restart bool = true
}