X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=src%2Ffoundation%2Fapi%2Fapiserver%2Fapp%2Ftmp%2Fmain.go;fp=src%2Ffoundation%2Fapi%2Fapiserver%2Fapp%2Ftmp%2Fmain.go;h=918f1a6bf22958c091cae4e64225f5e5fa3cf55d;hb=754bbb90fbbc06ef896673b7346c3086d481dca6;hp=0000000000000000000000000000000000000000;hpb=6ebd8c9c9a1e8cc534b6428c12d0cf6f4bfd9e04;p=iec.git diff --git a/src/foundation/api/apiserver/app/tmp/main.go b/src/foundation/api/apiserver/app/tmp/main.go new file mode 100644 index 0000000..918f1a6 --- /dev/null +++ b/src/foundation/api/apiserver/app/tmp/main.go @@ -0,0 +1,25 @@ +// GENERATED CODE - DO NOT EDIT +// This file is the main file for Revel. +// It registers all the controllers and provides details for the Revel server engine to +// properly inject parameters directly into the action endpoints. +package main + +import ( + "flag" + "apiserver/app/tmp/run" + "github.com/revel/revel" +) + +var ( + runMode *string = flag.String("runMode", "", "Run mode.") + port *int = flag.Int("port", 0, "By default, read from app.conf") + importPath *string = flag.String("importPath", "", "Go Import Path for the app.") + srcPath *string = flag.String("srcPath", "", "Path to the source root.") + +) + +func main() { + flag.Parse() + revel.Init(*runMode, *importPath, *srcPath) + run.Run(*port) +}