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

Function SetTCPUserTimeout

internal/syscall/syscall_nonlinux.go:67–70  ·  view source on GitHub ↗

SetTCPUserTimeout is a no-op function under non-linux environments.

(net.Conn, time.Duration)

Source from the content-addressed store, hash-verified

65
66// SetTCPUserTimeout is a no-op function under non-linux environments.
67func SetTCPUserTimeout(net.Conn, time.Duration) error {
68 log()
69 return nil
70}
71
72// GetTCPUserTimeout is a no-op function under non-linux environments.
73// A negative return value indicates the operation is not supported

Callers 1

NewServerTransportFunction · 0.92

Calls 1

logFunction · 0.85

Tested by

no test coverage detected