INNER CODE UNIT · Go
main
wso2/product-microgateway · adapter/cmd/adapter/main.go:30
func main() {
var file string
if len(os.Args) > 1 {
file = os.Args[1]
logger.Debug(file)
}
startMicroGateway(os.Args)
}
func initServer() error {
return nil
}
// startMicroGateway reads the configuration files and then start the adapter components.
// Commandline arguments needs to be provided as args
func startMicroGateway(args []string) {