INNER CODE UNIT · Go

NodeWithFactory

pojol/braid · core/node.go:60

func NodeWithFactory(factory IActorFactory) NodeOption {
	return func(np *NodeParm) {
		np.Factory = factory
	}
}

func NodeWithIP(ip string) NodeOption {
	return func(np *NodeParm) {
		np.Ip = ip
	}
}

func NodeWithPort(port int) NodeOption {
	return func(np *NodeParm) {
		np.Port = port
	}
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…