Deadline implements context.Context using the cancel context.
()
| 26 | |
| 27 | // Deadline implements context.Context using the cancel context. |
| 28 | func (ctx *crossContext) Deadline() (deadline time.Time, ok bool) { |
| 29 | return ctx.cancelCtx.Deadline() |
| 30 | } |
| 31 | |
| 32 | // Done implements context.Context using the cancel context. |
| 33 | func (ctx *crossContext) Done() <-chan struct{} { |
no outgoing calls