func parseArguments() arguments {
	result := arguments{}
	flag.StringVar(&result.port, "port", "18882", "the port to listen on, default '18882'")
	flag.StringVar(&result.adminPort, "admin_port", "28882", "the admin port to listen on, default '28882'")
	flag.StringVar(&result.accountServer, "account_server", "localhost:18883", "address of the account service, default 'localhost:18883'")
	flag.StringVar(&result.hostnameSuffix, "hostname_suffix", "", "suffix to append to hostname in response header for outgoing RPCs, default ''")
	flag.BoolVar(&result.premiumOnly, "premium_only", false, "whether this service is for users with premium access only, default false")
	flag.StringVar(&result.gcpClientProject, "gcp_client_project", "", "if set, metrics and traces will be sent to Cloud Monitoring and Cloud Trace")
	flag.Parse()
	return result
}
// parseArguments parses the command line arguments using the flag package.
parseArguments parses the command line arguments using the flag package.
// parseArguments parses the command line arguments using the flag package .
func parseArguments() arguments {
	result := arguments{}
	flag.StringVar(&result.port, "port", "18882", "the port to listen on, default '18882'")
	flag.StringVar(&result.adminPort, "admin_port", "28882", "the admin port to listen on, default '28882'")
	flag.StringVar(&result.accountServer, "account_server", "localhost:18883", "address of the account service, default 'localhost:18883'")
	flag.StringVar(&result.hostnameSuffix, "hostname_suffix", "", "suffix to append to hostname in response header for outgoing RPCs, default ''")
	flag.BoolVar(&result.premiumOnly, "premium_only", false, "whether this service is for users with premium access only, default false")
	flag.StringVar(&result.gcpClientProject, "gcp_client_project", "", "if set, metrics and traces will be sent to Cloud Monitoring and Cloud Trace")
	flag.Parse()
	return result
}
func parseArguments ( ) arguments { result := arguments { } flag . StringVar ( & result . port , " " , " " , " " ) flag . StringVar ( & result . adminPort , " " , " " , " " ) flag . StringVar ( & result . accountServer , " " , " " , " " ) flag . StringVar ( & result . hostnameSuffix , " " , " " , " " ) flag . BoolVar ( & result . premiumOnly , " " , false , " " ) flag . StringVar ( & result . gcpClientProject , " " , " " , " " ) flag . Parse ( ) return result }
parseArguments parses the command line arguments using the flag package.
parseArguments parses the command line arguments using the flag package .