MCPcopy
hub / github.com/aceld/zinx / wait

Function wait

examples/zinx_tls/client/client.go:27–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27func wait() {
28 c := make(chan os.Signal, 1)
29 signal.Notify(c, os.Interrupt, os.Kill)
30 sig := <-c
31 fmt.Println("===exit===", sig)
32}
33
34func main() {
35 // Create a TLS client.

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected