INNER CODE UNIT · Go

main

Ne0nd0g/merlin · main.go:36

func main() {
	addr := flag.String("addr", "127.0.0.1:50051", "The address to listen on for client connections")
	password := flag.String("password", "merlin", "the password to for CLI RPC clients to connect to this server")
	secure := flag.Bool("secure", false, "Require client TLS certificate verification")
	tlsKey := flag.String("tlsKey", "", "TLS private key file path")
	tlsCert := flag.String("tlsCert", "", "TLS certificate file path")
	tlsCA := flag.String("tlsCA", "", "TLS Certificate Authority file path to verify client certificates")
	debug := flag.Bool("debug", false, "Enable debug logging")
	trace := flag.Bool("trace", false, "Enable trace logging")
	extra := flag.Bool("extra", false, "Enable extra debug logging")
	dotnetBin := flag.String("dotnetBin", "dotnet", "File path to the 'dotnet' executable used by the SharpGen module; defaults to 'dotnet' resolved from the server's PATH")
	v := flag.Bool("version", false, "Print the version number and exit")
	flag.Parse()

	if *v {
		fmt.Printf("Merlin Version: %s, Build: %s\n", merlin.Version, merlin.Build)
		return
	}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…