Example #1
0
File: main.go Project: dcbw/cni
func main() {
	if len(os.Args) > 1 && os.Args[1] == "daemon" {
		runDaemon()
	} else {
		skel.PluginMain(cmdAdd, cmdDel)
	}
}
Example #2
0
File: flannel.go Project: dcbw/cni
func main() {
	skel.PluginMain(cmdAdd, cmdDel)
}