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

Method SetDeadline

test/bufconn/bufconn.go:271–275  ·  view source on GitHub ↗
(t time.Time)

Source from the content-addressed store, hash-verified

269}
270
271func (c *conn) SetDeadline(t time.Time) error {
272 c.SetReadDeadline(t)
273 c.SetWriteDeadline(t)
274 return nil
275}
276
277func (c *conn) SetReadDeadline(t time.Time) error {
278 p := c.Reader.(*pipe)

Calls 2

SetReadDeadlineMethod · 0.95
SetWriteDeadlineMethod · 0.95