MCPcopy
hub / github.com/grpc/grpc-go / main

Function main

examples/features/advancedtls/server/main.go:167–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

165}
166
167func main() {
168 credentialsDirectory := flag.String("credentials_directory", "", "Path to the creds directory of this repo")
169 flag.Parse()
170 if *credentialsDirectory == "" {
171 fmt.Println("Must set credentials_directory argument")
172 os.Exit(1)
173 }
174 go createAndRunTLSServer(*credentialsDirectory, false, goodServerWithCRLPort)
175 go createAndRunTLSServer(*credentialsDirectory, true, revokedServerWithCRLPort)
176 insecureServer()
177}

Callers

nothing calls this directly

Calls 5

createAndRunTLSServerFunction · 0.85
insecureServerFunction · 0.85
PrintlnMethod · 0.80
StringMethod · 0.65
ParseMethod · 0.65

Tested by

no test coverage detected